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:
rvelices
2011-07-30 04:49:02 +00:00
parent afb91c6ca2
commit c17ed8b55f
6 changed files with 69 additions and 21 deletions
+9
View File
@@ -538,6 +538,15 @@ $template->assign(
)
);
if (!empty($_SESSION['bulk_manager_filter']['tags']))
{
$query = '
SELECT id, name
FROM '.TAGS_TABLE.'
WHERE id IN ('.implode(',', $_SESSION['bulk_manager_filter']['tags']).')';
$template->assign('filter_tags', get_taglist($query));
}
// Virtualy associate a picture to a category
$query = '
SELECT id,name,uppercats,global_rank