diff options
author | plegall <plg@piwigo.org> | 2014-08-21 12:50:50 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2014-08-21 12:50:50 +0000 |
commit | b1c6c5624932e6204cf82ae9b5336167552f3fa5 (patch) | |
tree | 70caca8d1ea95699db16dcc23f0f40fa5a316efc /admin/batch_manager.php | |
parent | 3626fe99a8dbec48aead6553b3ee2dd2932e61fb (diff) |
bug 2810: use filename+date_creation to find duplicates and not only filename.
When using several camera, you quickly have the same filenames with totally
different photos.
git-svn-id: http://piwigo.org/svn/trunk@29237 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/batch_manager.php')
-rw-r--r-- | admin/batch_manager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/batch_manager.php b/admin/batch_manager.php index a89ef615b..c34ee7406 100644 --- a/admin/batch_manager.php +++ b/admin/batch_manager.php @@ -295,7 +295,7 @@ SELECT $query = ' SELECT file FROM '.IMAGES_TABLE.' - GROUP BY file + GROUP BY file, date_creation HAVING COUNT(*) > 1 ;'; $duplicate_files = query2array($query, null, 'file'); |