Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort sidebar caseless #187

Merged
merged 1 commit into from
Jan 21, 2025
Merged

Conversation

rhartmann
Copy link
Contributor

Make sort_key use lowercase for sorting.

With RETAIN_PAGE_NAME_CASE = True, page and directory names can be mixes of uppercase and lowercase. This commit changes the sorting behavior to treat everything lowercase for sorting. This gives aAabBbcCc... instead of ABCaabbcc...

Make sort_key use lowercase for sorting.

With RETAIN_PAGE_NAME_CASE = True, page and directory names can be mixes of uppercase and lowercase. This commit changes the sorting behavior to treat everything lowercase for sorting. This gives aAabBbcCc... instead of ABCaabbcc...
@redimp
Copy link
Owner

redimp commented Jan 20, 2025

Looks good to me!

@redimp redimp merged commit 48e0592 into redimp:main Jan 21, 2025
@redimp
Copy link
Owner

redimp commented Jan 23, 2025

Released in v2.9.0.

@rhartmann rhartmann deleted the sort-sidebar-caseless branch January 24, 2025 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants