aboutsummaryrefslogtreecommitdiffstats
path: root/admin/batch_manager.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/batch_manager.php')
-rw-r--r--admin/batch_manager.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/admin/batch_manager.php b/admin/batch_manager.php
index a5c82d061..31fb46c00 100644
--- a/admin/batch_manager.php
+++ b/admin/batch_manager.php
@@ -168,6 +168,19 @@ SELECT element_id
);
}
+ if ('favorites' == $_SESSION['bulk_manager_filter']['prefilter'])
+ {
+ $query = '
+SELECT image_id
+ FROM '.FAVORITES_TABLE.'
+ WHERE user_id = '.$user['id'].'
+;';
+ array_push(
+ $filter_sets,
+ array_from_query($query, 'image_id')
+ );
+ }
+
if ('last import'== $_SESSION['bulk_manager_filter']['prefilter'])
{
$query = '