backoffice: adapt multi action target on filter changes (#41362)

This commit is contained in:
Frédéric Péters 2020-04-07 10:18:40 +02:00
parent d4393696d1
commit f22d7ece81
1 changed files with 1 additions and 0 deletions

View File

@ -163,6 +163,7 @@ $(document).on('backoffice-filter-change', function(event, listing_settings) {
$('a[data-base-href]').each(function(idx, elem) {
$(elem).attr('href', $(elem).data('base-href') + '?' + listing_settings.qs);
});
$('#multi-actions').attr('action', '?' + listing_settings.qs);
if (window.history) {
window.history.replaceState(null, null, pathname + '?' + listing_settings.qs);
}