Allow users to filter albums by contributors #48
@ -50,7 +50,7 @@ class ViewPhotoAlbum extends HTMLController
|
||||
$filters = [];
|
||||
if (!empty($contributors))
|
||||
{
|
||||
$filters[''] = ['id_user' => null, 'label' => '', 'caption' => 'Show all photos',
|
||||
$filters[''] = ['id_user' => null, 'label' => '', 'caption' => 'All photos',
|
||||
Aaron marked this conversation as resolved
Outdated
|
||||
'link' => $tag->getUrl()];
|
||||
|
||||
foreach ($contributors as $contributor)
|
||||
|
Loading…
Reference in New Issue
Block a user
Key
label
missingI initially didn't add it as it'd never be used. You're right, though, and it's better to just have it there for consistency.