bug:2808
add "Your Favorites" to the filters of the Batch Manager git-svn-id: http://piwigo.org/svn/trunk@23746 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
251bbd5704
commit
46040738d8
3 changed files with 24 additions and 2 deletions
|
|
@ -168,6 +168,19 @@ SELECT element_id
|
|||
);
|
||||
}
|
||||
|
||||
if ('favorites' == $_SESSION['bulk_manager_filter']['prefilter'])
|
||||
{
|
||||
$query = '
|
||||
SELECT image_id
|
||||
FROM '.FAVORITES_TABLE.'
|
||||
WHERE user_id = '.$user['id'].'
|
||||
;';
|
||||
array_push(
|
||||
$filter_sets,
|
||||
array_from_query($query, 'image_id')
|
||||
);
|
||||
}
|
||||
|
||||
if ('last import'== $_SESSION['bulk_manager_filter']['prefilter'])
|
||||
{
|
||||
$query = '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue