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

Allow sorting by roman numerals in titles #219

Open
craigsapp opened this issue Apr 18, 2023 · 0 comments
Open

Allow sorting by roman numerals in titles #219

craigsapp opened this issue Apr 18, 2023 · 0 comments

Comments

@craigsapp
Copy link
Owner

When viewing Gomółka's Melodiae na psalterz polski by shelfmark, the works are sorted in original order (since the shelfmark ID includes the order of the works in the source.:

Screenshot 2023-04-17 at 10 39 23 PM

When sorting by Composer or Title, the songs in Melodiae na psalterz polski are sorted alphabetically by the Roman numeral in the title:

Screenshot 2023-04-17 at 10 42 30 PM

It would be more useful to sort the Roman numerals by number and/or exclude them when sorting by title. The Roman numerals in this particular case are ended with a periodd, so the regular expression ^([IVXCM]+)\.\s+ could be used to recognize that the title starts with a Roman number, which can then be either ignored or converted to an Arabic number for sorting.

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

No branches or pull requests

1 participant