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

Fix multi-value sort #817

Merged
merged 1 commit into from Jan 14, 2024
Merged

Conversation

corubba
Copy link
Contributor

@corubba corubba commented Jun 25, 2023

Unfortunetly QCollator can only handle plain strings, not string lists or tuples like the python sorting. So convert the list of strings into a single string by joining the elements using a separator that's unlikely to appear in the elements: the ascii unit separator.

Fixes #816

Unfortunetly QCollator can only handle plain strings, not string lists
or tuples like the python sorting. So convert the list of strings into
a single string by joining the elements using a separator that's unlikely
to appear in the elements: the ascii unit separator.

Fixes puddletag#816
@corubba corubba added the bug This is a bug, and should be fixed label Jan 6, 2024
@sandrotosi sandrotosi merged commit 92dedfa into puddletag:master Jan 14, 2024
@corubba corubba deleted the bugfix/multi-value-sort branch January 14, 2024 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This is a bug, and should be fixed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is sort broken?
2 participants