View Single Post
Old 12-28-2021, 04:25 PM   #264
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,509
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
gui.current_db.data.refresh() worked - made the sorting go weird, so instead of attaching it to the tab-switch chain itself I instead made a chain (bound to Ctrl+F5) that runs the module and then re-applies the view/sort.
There are methods to redo the sort and search. I am not at my computer to check but IIRC you call them with
gui.library_view.model().resort()
and
gui.library_view.model().research()
chaley is offline   Reply With Quote