mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
cb91b28566
commit
6dec545167
@ -47,7 +47,8 @@ class Boss:
|
|||||||
|
|
||||||
def onpopstate(self, ev):
|
def onpopstate(self, ev):
|
||||||
data = parse_url_params()
|
data = parse_url_params()
|
||||||
if not data.mode or data.mode == 'book_list':
|
mode = data.mode or 'book_list'
|
||||||
|
if mode == 'book_list':
|
||||||
search = data.search or ''
|
search = data.search or ''
|
||||||
if search != self.ui.books_view.interface_data.search_result.query:
|
if search != self.ui.books_view.interface_data.search_result.query:
|
||||||
self.ui.books_view.change_search(search)
|
self.ui.books_view.change_search(search)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user