Quote:
Originally Posted by aik099
I've finished the Onyx Boox device plugin at https://github.com/davidfor/calibre-annotations/pull/21 . Please review (I've attached some screenshots in there as well).
However, the only issue I'm facing is imported annotations not being sorted chronologically, even though I've specified the "ann_mi.location_sort" property as an integer offset from the book start.
Any idea why this might be happening?
|
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.