Child albums displayed incorrectly #84
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: aheathershaw/blue-twilight#84
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
On the demo system when you are logged in as the demo user, every album shows all albums as children, even though only 1 is a child.
Additionally the “albums” admin screen hangs and doesn’t load, presumably because it’s getting into an endless loop if every album is also being seen as a child of itself.
This is due to an incorrect join on user permissions - when logged in as a user, and filtering by parent, the “and” clause is incorrectly mixing with the OR due to lack of brackets around the ORs for the permissions.
Migrated from https://github.com/andysh-uk/blue-twilight/issues/84