You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And (at least) three articles that are listed in both category1 and category2. When you access /category1/, ella gets stuck in an infinite loop.
The problem seems to be in ella.core.managers.ListingManager.get_listing method where the total count of listings can be greater than all possible distinct publishables. For less then 3 articles listed in the same fashion, the code works OK (Because of the magic padding/skip constant).
I think the solution would be to change the count variable in said method to something like:
Description
This was tested in Ella 3.0.0.
We have following category structure:
And (at least) three articles that are listed in both category1 and category2. When you access
/category1/
, ella gets stuck in an infinite loop.The problem seems to be in
ella.core.managers.ListingManager.get_listing
method where the totalcount
of listings can be greater than all possible distinct publishables. For less then 3 articles listed in the same fashion, the code works OK (Because of the magic padding/skip constant).I think the solution would be to change the
count
variable in said method to something like:The text was updated successfully, but these errors were encountered: