aboutsummaryrefslogtreecommitdiffstats
path: root/admin/picture_modify.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2011-07-30 04:49:02 +0000
committerrvelices <rv-github@modusoptimus.com>2011-07-30 04:49:02 +0000
commitc17ed8b55fc7886a5cbe4797694b310ed3dc4816 (patch)
tree33b35a49c7507fcceb8d12b035f4ab1ac1e38c3b /admin/picture_modify.php
parentafb91c6ca29625cfe3bd422e42ee1bd85153f844 (diff)
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
Diffstat (limited to 'admin/picture_modify.php')
-rw-r--r--admin/picture_modify.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/picture_modify.php b/admin/picture_modify.php
index 779197f0c..7dd6fcbc5 100644
--- a/admin/picture_modify.php
+++ b/admin/picture_modify.php
@@ -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);