ViewPhotoAlbum: add method to filter by id_user_uploaded
This commit is contained in:
@@ -118,6 +118,11 @@ class AssetIterator extends Asset
|
||||
else
|
||||
$where[] = 'a.mimetype = {string:mime_type}';
|
||||
}
|
||||
if (isset($options['id_user_uploaded']))
|
||||
{
|
||||
$params['id_user_uploaded'] = $options['id_user_uploaded'];
|
||||
$where[] = 'id_user_uploaded = {int:id_user_uploaded}';
|
||||
}
|
||||
if (isset($options['id_tag']))
|
||||
{
|
||||
$params['id_tag'] = $options['id_tag'];
|
||||
|
||||
Reference in New Issue
Block a user