View Single Post
Old 02-20-2022, 10:36 PM   #1010
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by aik099 View Post
Figured that out. Even though I've specified "location_sort" as integer internally this plugin inserts them into SQLite table where the "location_sort" column is text and sorts them as text The only way to make it work (as I've found in other device classes) is to format it as a zero-padded string, which I've done.

Now it's ready to merge.
I've tripped over that in the past. I don't remember why the original author did it that way.

And I haven't had a chance to look at your code. It will probably be the weekend when I do it. I am also slowly doing the work to support calibre6/Qt6. Most of that isn't hard, just a bit time consuming.
davidfor is offline   Reply With Quote