Closes #21459: Avoid prefetching data for hidden table columns (#21460)

This commit is contained in:
Jeremy Stretch
2026-02-20 13:36:46 -05:00
committed by GitHub
parent 32e2a17c88
commit d5e8f7dafa
7 changed files with 91 additions and 52 deletions

View File

@@ -684,7 +684,7 @@ class PluginListView(BasePluginView):
plugins = [plugin for plugin in plugins if not plugin.hidden]
table = CatalogPluginTable(plugins, user=request.user)
table = CatalogPluginTable(plugins)
table.configure(request)
# If this is an HTMX request, return only the rendered table HTML
@@ -707,7 +707,7 @@ class PluginView(BasePluginView):
raise Http404(_("Plugin {name} not found").format(name=name))
plugin = plugins[name]
table = PluginVersionTable(plugin.release_recent_history, user=request.user)
table = PluginVersionTable(plugin.release_recent_history)
table.configure(request)
return render(request, 'core/plugin.html', {