mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 01:33:30 +02: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
1 changed files with 2 additions and 3 deletions
|
|
@ -153,9 +153,8 @@ def node_clicked(i):
|
|||
execute_search(expr)
|
||||
|
||||
|
||||
def add_to_search(node, search_type, anded):
|
||||
if anded is undefined or anded is None:
|
||||
anded = get_session_data().get('and_search_terms')
|
||||
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…
Reference in a new issue