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
We use the lft field of the MPTT model to convert them to order fields which is used by the app.
However, on the root level this does not work, because all root pages have the same lft values.
Steps to Reproduce
Access API and inspect root pages
Expected Behavior
The root pages should be ordered by their tree ids
Actual Behavior
All root pages have the order field 1 because it's their lft value
The text was updated successfully, but these errors were encountered:
Describe the Bug
We use the
lft
field of the MPTT model to convert them toorder
fields which is used by the app.However, on the root level this does not work, because all root pages have the same
lft
values.Steps to Reproduce
Access API and inspect root pages
Expected Behavior
The root pages should be ordered by their tree ids
Actual Behavior
All root pages have the
order
field1
because it's theirlft
valueThe text was updated successfully, but these errors were encountered: