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

Sorting of books titles doesn't ignore A & The #5

Closed
richo67 opened this issue Aug 23, 2019 · 10 comments
Closed

Sorting of books titles doesn't ignore A & The #5

richo67 opened this issue Aug 23, 2019 · 10 comments

Comments

@richo67
Copy link

richo67 commented Aug 23, 2019

Hello again ;-)
I am using KoHighlights very very often, one ting is that sorting on book title is different then in KOReader and in Calibre too. This makes the certain action a bit difficult.

Would it be possible to make sorting to ignore the A & The part of title? This would make it same in all three programs.

@noembryo
Copy link
Owner

I'm glad that you find KoHighlights useful :o)

As for the sorting, I'm not sure that KoReader sorts things like that.
Just checked mine (using "Detailed list with metadata, no images) and it wasn't.
Maybe the problem starts with Calibre's default settings, that write the metadata like "Title of book, The", and Koreader just sorts by the metadata that finds in the books.

Because of the problems of this type of sorting (metadata/filenames mismatch), I changed a setting somewhere in Calibre many years ago and the sorting is the same in all three programs.
A quick search returned this, but I don't really remember.

Anyway, I'll think about it today and try to find a way to add it without creating a new "Preferences" section..
The main problem is that from tomorrow afternoon I'm on holidays without a PC, so if nothing new happens by then, it will have to wait a while..

@noembryo
Copy link
Owner

noembryo commented Aug 23, 2019

OK, I added this.
The way to do it, is:
Right click the "Title" header and select the Ignore "A" & "The" entry.

It will be on the next release later today..

If you have any other fast suggestions, you have some hours before I upload the new binaries.. ;o)

@richo67
Copy link
Author

richo67 commented Aug 24, 2019

Thank you a lot, it is great to have such a active development ;-)

Calibre storing file of the book with the The and A as you described yourself in format "Title of book, The", koreader however put in lua file the title in format The Title of book. KoHighlights read the lua I suppose and using that to display title of the book.

Great that feature to merge highlights with archived version, this is great feature not to lose my highlights! Thank you again very much for all your work and effort.

Enjoy your holiday.

@richo67
Copy link
Author

richo67 commented Aug 24, 2019

I wished you to enjoy your holiday and here I am again to bug you. Please feel free to ignore this during your holiday. I only wanted to know you that somethings not fully right with that sorting. Please see the attached picture. Not sure how that first book got there. I selected to ignore "The & A" (Maybe also An should included ;-) should we call then "English articles" ? )

ScreenClip

@noembryo
Copy link
Owner

Ooops, sorry, my bad!! :o)
Fixed it and uploaded it...

@richo67
Copy link
Author

richo67 commented Aug 24, 2019

Thanks!

@noembryo
Copy link
Owner

Just saw your edit about the extra "An"...
Well, I'll add this too, but do you think there is anyone else missing? ;o)

@noembryo
Copy link
Owner

Updated..

@richo67
Copy link
Author

richo67 commented Aug 25, 2019

YOU are amazing!

Just saw your edit about the extra "An"...
Well, I'll add this too, but do you think there is anyone else missing? ;o)

There is no more in English articles only A, An, The So this is done great that you made it an options ;-)

Enjoy your holiday. You have another beer/wine (insert your favorite drink) on me.
-r-

@noembryo
Copy link
Owner

noembryo commented Aug 25, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants