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
This commit is contained in:
Kara Engelhardt
2026-09-10 12:44:47 +02:00
parent c05dee7af5
commit 6df638a3ac
@@ -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 () {