And a srtcase() method.
I don't know how the operator implementation works, but a buit-in method would be a nice touch.
The cases are rare, and the default behavior of Calibre does the coffee very well. If it is insensitive case, okay, fine, it works the same 90% of the time.
But sometimes, when you are the kind of person who is very rigorous on the content of the DB, is useful.
When I see that authors:"Isaac Asimov" and Calibre tells me author_sort:"ASIMOV, Isaac" is valid, No! Click "Manage authors" > set author_sort:"Asimov, Isaac". And that's when I noticed it, who knows how many others have screwed up like that (well, I have plenty of functions to check that now).
Yes, Calibre is case insensitive, so it won't change anything, but now my DB is clean.
Last edited by un_pogaz; 09-07-2022 at 07:45 AM.
|