View Single Post
Old 06-20-2025, 01:06 PM   #13
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
A similar question if I may:

Is there a way to patch something in a plugin that's not in the main plugin object?

I'm trying to patch in a replacement for CalibreSearch.switchResults() in calibre.koplugin/search.lua.

I'm trying to replace the sort with one that does lower() before compare so lower case Calibre titles, tags, etc aren't after all the upper case ones.

(I suspect patching sort.natsort_cmp would be easier, but it's also used by other things.)
JimmXinu is offline   Reply With Quote