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

Normalize sort title from comicinfo.xml #1199

Closed
5 tasks done
sonostrass opened this issue Aug 18, 2023 · 5 comments
Closed
5 tasks done

Normalize sort title from comicinfo.xml #1199

sonostrass opened this issue Aug 18, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@sonostrass
Copy link

sonostrass commented Aug 18, 2023

Steps to reproduce

Before, thanks so much for this incredible tool I use for nearly 2 years

Step 1 - add files with series title containing accents
Step 2 - See how it's sorted. in Komga

Expected behavior

I wrongly assumed this was solved in 0.109.1 version.
I would have liked the alphabetic order being respected as if there where no accent:

  • é or É considered as E
  • î or Î considered as I
  • ç or Ç considered as C

And better, a feature to manage characters sorting (like force ignoring # as first title character)?

Actual behavior

Wrong order in cards:
image

or in classification:
image

Logs

No response

Komga version

1.3.1

Operating system

Windows 11

Other details

Jar execution

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I have checked the FAQ.
  • I have updated the app to the latest version.
  • I will fill out all of the requested information in this form.
@gotson
Copy link
Owner

gotson commented Aug 19, 2023

The name displayed on the card is not used for sorting. Check the sort title field.

@sonostrass
Copy link
Author

sonostrass commented Aug 19, 2023

Hi Gotson,
Thanks for your hint.

All my metadata comes from Comicrack comicinfo.xml. Since this tag does not seem available, Sort field in Komga is the same as title (Serie or book itself).
I don't have any tool to mass change my whole collection, and even so, it seems imho pretty logic from here that alphabetical order is not impacted by accent...

All my gratitude again for your involvment!

@sonostrass
Copy link
Author

Or I do a mass update directly in SQLite to update all sorting first letter based on my own rules.
Yeah. That's somehow a solution. I can manage this, but it's not very user-friendly.
And I hope I won't break something with such a database manipulation.

@gotson
Copy link
Owner

gotson commented Aug 19, 2023

That's a comicinfo.xml limitation indeed, as it doesn't have a field for the sort title Komga uses it as is. I guess we could strip accents, similarly to what we do in folder names.

@gotson gotson added enhancement New feature or request and removed triage labels Aug 19, 2023
@gotson gotson changed the title Wrong sorting for accents Normalize sort title from comicinfo.xml Aug 19, 2023
@gotson gotson closed this as completed in e568dd0 Sep 4, 2023
@sonostrass
Copy link
Author

thanks a lot!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants