From 6df638a3ac657934c911798ffe43723d45a28f24 Mon Sep 17 00:00:00 2001 From: Kara Engelhardt Date: Thu, 10 Sep 2026 12:42:14 +0200 Subject: [PATCH] Plugin List: Apply searchfilter if prefilled by browser Browsers often prefill the form fields, e.g. with their old content when reloading or going back from the previous page. However these filters were not applied until you changed one of the form fields --- src/pretix/static/pretixcontrol/js/ui/plugins.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pretix/static/pretixcontrol/js/ui/plugins.js b/src/pretix/static/pretixcontrol/js/ui/plugins.js index 6b698b0568..8515538089 100644 --- a/src/pretix/static/pretixcontrol/js/ui/plugins.js +++ b/src/pretix/static/pretixcontrol/js/ui/plugins.js @@ -74,6 +74,7 @@ $(function () { $results.append(gettext('No results')) } } + search() // if pre-filled by browser (e.g. after reload) $('#plugin_search_input').on('input', search) $('input[name=plugin_state_filter]').on('change', search) $results_box.find('button.close').on('click', function () {