Renamed do_search → do_node_search

This commit is contained in:
Sybren A. Stüvel 2018-01-05 16:40:54 +01:00
parent 999c1a3fa6
commit acd7a40fe6
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ def nested_bool(must: list, should: list, terms: dict) -> Search:
return search
def do_search(query: str, terms: dict) -> dict:
def do_node_search(query: str, terms: dict) -> dict:
"""
Given user query input and term refinements
search for public published nodes

View File

@ -39,7 +39,7 @@ def _term_filters() -> dict:
def search_nodes():
searchword = _valid_search()
terms = _term_filters()
data = queries.do_search(searchword, terms)
data = queries.do_node_search(searchword, terms)
return jsonify(data)