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
Is your feature request related to a problem? Please describe.
The navigation items are not being sorted when entering sequence.
Describe the solution you'd like
When returning the navigation items from context_processor put .order(sequence) on the filter that is returning these items.
Additional context https://github.com/BirkbeckCTP/janeway/blob/master/src/core/context_processors.py#L74
I tried on my local adding .order_by('sequence') and it worked on my local. I can make a PR for this unless this may break something else or if it's not the correct way of going about this. Related: Is there any way to change the order of non-cms pages among these cms pages other than directly editing the template?
The text was updated successfully, but these errors were encountered:
So you can have a completely custom nav mixing CMS items and what were previously fixed items as well as all previous fixed pages becoming customisable pages with elements in them,
Happy for you to put a PR in for this as its part of 509 but can you tag it as 509 and close this?
Is your feature request related to a problem? Please describe.
The navigation items are not being sorted when entering sequence.
Describe the solution you'd like

When returning the navigation items from
context_processor
put.order(sequence)
on the filter that is returning these items.Additional context
https://github.com/BirkbeckCTP/janeway/blob/master/src/core/context_processors.py#L74
I tried on my local adding
.order_by('sequence')
and it worked on my local. I can make a PR for this unless this may break something else or if it's not the correct way of going about this. Related: Is there any way to change the order of non-cms pages among these cms pages other than directly editing the template?The text was updated successfully, but these errors were encountered: