mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 16:53:34 +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:
@@ -486,6 +486,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
|
||||
|
||||
Reference in New Issue
Block a user