Child albums displayed incorrectly #84

Closed
opened 2018-07-28 23:58:08 +01:00 by aheathershaw · 2 comments
Owner

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.

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.
aheathershaw self-assigned this 2018-07-28 23:58:08 +01:00
aheathershaw added the
bug
label 2018-07-28 23:58:08 +01:00
aheathershaw added this to the Version 2.1.2 milestone 2018-07-28 23:58:40 +01:00
Author
Owner

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.

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.
Author
Owner
Migrated from https://github.com/andysh-uk/blue-twilight/issues/84
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: aheathershaw/blue-twilight#84
No description provided.