Merge pull request #27926 from noec764/18_FIX_Global_filter_deleted_on_massactions

FIX: Save global filter when clicking on massaction buttons
This commit is contained in:
Laurent Destailleur
2024-01-31 19:28:00 +01:00
committed by GitHub

View File

@@ -30,6 +30,11 @@
// $object = Object fetched;
// $sendto
// $withmaindocfilemail
if (!empty($sall) || !empty($search_all)) {
$search_all = empty($sall) ? $search_all : $sall;
print '<input type="hidden" name="search_all" value="'.$search_all.'">';
}
if ($massaction == 'predeletedraft') {
print $form->formconfirm($_SERVER["PHP_SELF"], $langs->trans("ConfirmMassDraftDeletion"), $langs->trans("ConfirmMassDeletionQuestion", count($toselect)), "delete", null, '', 0, 200, 500, 1);