Actions
Feature proposal #6655
closedImplement hiding of empty albums
Start date:
30 May 2017
Due date:
% Done:
100%
Estimated time:
Description
If the viewing user has no permission to manage the album (edit, delete, upload, etc..) and it has no media then it should be hidden.
Updated by krileon about 8 years ago
- Status changed from Assigned to Rejected
- Target version deleted (
2.1.0) - % Done changed from 20 to 100
There's no efficient way of doing this. Currently the item count is a simple and fast subquery. To remove empty rows the tables must be joined. Joining the tables will results in a significant performance hit. For the usecase in the attached forum topic they realistically should be using different gallery assets. So for example if they want a gallery with photos only they can use profile.[user_id].photos and set it to only allow photos. If you want all these sub galleries displayed in a single gallery you'd use profile.[user_id]% wildcard usage.
Actions