mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 01:32:59 +02:00
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:
@@ -227,8 +227,8 @@ if (isset($_POST['dismiss'])
|
||||
// tags
|
||||
$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 = '.$_GET['image_id'].'
|
||||
@@ -237,8 +237,8 @@ $tag_selection = get_taglist($query);
|
||||
|
||||
$query = '
|
||||
SELECT
|
||||
id AS tag_id,
|
||||
name AS tag_name
|
||||
id,
|
||||
name
|
||||
FROM '.TAGS_TABLE.'
|
||||
;';
|
||||
$tags = get_taglist($query);
|
||||
|
||||
Reference in New Issue
Block a user