mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
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:
@@ -30,6 +30,11 @@
|
|||||||
// $object = Object fetched;
|
// $object = Object fetched;
|
||||||
// $sendto
|
// $sendto
|
||||||
// $withmaindocfilemail
|
// $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') {
|
if ($massaction == 'predeletedraft') {
|
||||||
print $form->formconfirm($_SERVER["PHP_SELF"], $langs->trans("ConfirmMassDraftDeletion"), $langs->trans("ConfirmMassDeletionQuestion", count($toselect)), "delete", null, '', 0, 200, 500, 1);
|
print $form->formconfirm($_SERVER["PHP_SELF"], $langs->trans("ConfirmMassDraftDeletion"), $langs->trans("ConfirmMassDeletionQuestion", count($toselect)), "delete", null, '', 0, 200, 500, 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user