feature 2387: addd a filter by tag in the batch manager (merge from trunk)

git-svn-id: http://piwigo.org/svn/branches/2.2@11854 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2011-07-30 04:53:18 +00:00
parent 79aea26230
commit 6e8e08f3b7
6 changed files with 66 additions and 18 deletions
+2 -2
View File
@@ -251,8 +251,8 @@ SELECT id,path,tn_ext,name,date_creation,comment,author,level,file
$query = '
SELECT
tag_id,
name AS tag_name
id,
name
FROM '.IMAGE_TAG_TABLE.' AS it
JOIN '.TAGS_TABLE.' AS t ON t.id = it.tag_id
WHERE image_id = '.$row['id'].'