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
This commit is contained in:
parent
3626fe99a8
commit
b1c6c56249
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue