mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Server: Fix adding expressions to the search always using AND instead of respecting the setting to use OR or AND. Fixes #1724405 [request in remote client server](https://bugs.launchpad.net/calibre/+bug/1724405)
This commit is contained in:
parent
b36d1704e4
commit
a7c4335c2c
@ -153,8 +153,7 @@ def node_clicked(i):
|
||||
execute_search(expr)
|
||||
|
||||
|
||||
def add_to_search(node, search_type, anded):
|
||||
if anded is undefined or anded is None:
|
||||
def add_to_search(node, search_type):
|
||||
anded = get_session_data().get('and_search_terms')
|
||||
state.active_nodes[node.id] = [search_type, anded]
|
||||
render_search_expression()
|
||||
|
Loading…
x
Reference in New Issue
Block a user