diff options
author | rvelices <rv-github@modusoptimus.com> | 2011-07-30 04:53:18 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2011-07-30 04:53:18 +0000 |
commit | 6e8e08f3b76efe0d32f5169187bfff03e70bfed5 (patch) | |
tree | b77261d5c1a5e72d3a95ddd60eefcdf89676118f /admin/picture_modify.php | |
parent | 79aea26230915261bf89fae07a5e277a410957de (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | admin/picture_modify.php | 8 |
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); |