Add regex toggle for WebUI torrent filtering

PR #20566.
This commit is contained in:
HamletDuFromage 2024-03-24 06:44:57 +01:00 committed by GitHub
parent ce013f132f
commit 5c67c5a77d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 52 additions and 4 deletions

View file

@ -1460,6 +1460,9 @@ window.addEventListener("DOMContentLoaded", function() {
torrentsTable.updateTable();
}, window.qBittorrent.Misc.FILTER_INPUT_DELAY);
});
$('torrentsFilterRegexBox').addEvent('change', () => {
torrentsTable.updateTable();
});
$('transfersTabLink').addEvent('click', showTransfersTab);
$('searchTabLink').addEvent('click', showSearchTab);