forked from Public/pics
ViewPhotoAlbum: add method to filter by id_user_uploaded
This commit is contained in:
1 parent
16683d2f1f
commit
6a25ecec23
2 files changed
+31
-3
No files matched your search
@@ -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