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.)
|