mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-31 21:06:25 -06:00
17754 fix per-page on version history
This commit is contained in:
parent
55fad2f533
commit
1a0290567a
@ -715,6 +715,12 @@ class PluginView(BasePluginView):
|
|||||||
table = PluginVersionTable(plugin.release_recent_history, user=request.user)
|
table = PluginVersionTable(plugin.release_recent_history, user=request.user)
|
||||||
table.configure(request)
|
table.configure(request)
|
||||||
|
|
||||||
|
# If this is an HTMX request, return only the rendered table HTML
|
||||||
|
if htmx_partial(request):
|
||||||
|
return render(request, 'htmx/table.html', {
|
||||||
|
'table': table,
|
||||||
|
})
|
||||||
|
|
||||||
return render(request, 'core/plugin.html', {
|
return render(request, 'core/plugin.html', {
|
||||||
'plugin': plugin,
|
'plugin': plugin,
|
||||||
'table': table,
|
'table': table,
|
||||||
|
Loading…
Reference in New Issue
Block a user