aboutsummaryrefslogtreecommitdiffstats
path: root/admin/batch_manager_global.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/batch_manager_global.php')
-rw-r--r--admin/batch_manager_global.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/admin/batch_manager_global.php b/admin/batch_manager_global.php
index d6b793f39..c374e888d 100644
--- a/admin/batch_manager_global.php
+++ b/admin/batch_manager_global.php
@@ -527,6 +527,13 @@ if (count($page['cat_elements_id']) > 0)
$is_category = true;
}
+ if (isset($_SESSION['bulk_manager_filter']['prefilter'])
+ and 'duplicates' == $_SESSION['bulk_manager_filter']['prefilter'])
+ {
+ $conf['order_by'] = ' ORDER BY file, id';
+ }
+
+
$query = '
SELECT id,path,tn_ext,file,filesize,level,name
FROM '.IMAGES_TABLE;