mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 19:29:58 +03:00
feature 2387: addd a filter by tag in the batch manager
git-svn-id: http://piwigo.org/svn/trunk@11853 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
afb91c6ca2
commit
c17ed8b55f
6 changed files with 69 additions and 21 deletions
|
@ -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'].'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue