Quote:
Originally Posted by ownedbycats
Question: Can Selection Modifier be used to re-do the currently existing search, regardless of what it is? Mostly to remove now-invalid entries from the search after changing metadata - resorting doesn't do this.
|
Code:
from calibre_plugins.action_chains.actions.base import ChainAction
class RefreshSearch(ChainAction):
name = 'Refresh Current Search'
def run(self, gui, settings, chain):
gui.search.do_search()