View Single Post
Old 12-03-2010, 09:49 AM   #13
Coleccionista
Connoisseur
Coleccionista began at the beginning.
 
Posts: 67
Karma: 40
Join Date: Aug 2010
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by chaley View Post
This is a non-issue for me, but it seems that you could be the needed 'someone who cares'. I invite you to do the work and submit it. I am sure that Kovid would entertain such a patch.
Given that I don't have a clue of calibre code and python in general I feel free to make some bold assumptions.

If the grid where calibre is displaying the data is actually the result of a database query (some view query) whe should be able to skip any calibre change and use database functions for collation

Would the following be applicable?

How to sort text in sqlite3 with specified locale?

So in the end we could use the calibre locale to build database queries like:

Code:
SELECT * FROM authors ORDER BY name COLLATE POLISH;
Coleccionista is offline   Reply With Quote