aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/batch_manager.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/admin/batch_manager.php b/admin/batch_manager.php
index 26f764e0b..602ec07b6 100644
--- a/admin/batch_manager.php
+++ b/admin/batch_manager.php
@@ -160,6 +160,8 @@ if (isset($_POST['submitFilter']))
{
$_SESSION['bulk_manager_filter']['search']['q'] = $_POST['q'];
}
+
+ trigger_notify('batch_manager_register_filters');
}
// filters from url
elseif (isset($_GET['filter']))
@@ -479,6 +481,8 @@ if (isset($_SESSION['bulk_manager_filter']['search']))
$filter_sets[] = $res['items'];
}
+$filter_sets = trigger_change('batch_manager_perform_filters', $filter_sets);
+
$current_set = array_shift($filter_sets);
foreach ($filter_sets as $set)
{