Misago icon indicating copy to clipboard operation
Misago copied to clipboard

Categories list in main forum dropdown is not ordered

Open rafalp opened this issue 2 months ago • 7 comments

Forum url: https://python-forum.pl/

rafalp avatar Oct 07 '25 19:10 rafalp

hey can you assign it to me. I would like to work on this issue

Aryan-x677 avatar Nov 12 '25 13:11 Aryan-x677

@Aryan-x677 good luck. Let me know here or on Misago discord if you'll need my help with anything.

rafalp avatar Nov 12 '25 19:11 rafalp

hey @rafalp can you explain this issue in brief ? like i was thinking of just implementing sorting the list by alphabets. I think that would solve the issue

Aryan-x677 avatar Nov 12 '25 19:11 Aryan-x677

Categories in the main menu dropdown should be ordered by their lft attribute, ascending. AFAIR there's a context_processor that puts those categories in context, so that sorting should go there.

rafalp avatar Nov 12 '25 19:11 rafalp

hey @rafalp i have implemented my solution . i had to add two soring operations

Aryan-x677 avatar Nov 12 '25 19:11 Aryan-x677

Please open a PR so I can see it ;)

rafalp avatar Nov 12 '25 19:11 rafalp

@rafalp hey i have opened the PR. let me know if there's something wrong

Aryan-x677 avatar Nov 12 '25 20:11 Aryan-x677