From e6294eaef301c8d10d67da4628fa63c594138233 Mon Sep 17 00:00:00 2001 From: Paul Balluff Date: Fri, 22 Jul 2022 12:58:11 +0200 Subject: [PATCH] #32 #159 --- flaskinventory/endpoints/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flaskinventory/endpoints/routes.py b/flaskinventory/endpoints/routes.py index 5ff47742..da45127d 100644 --- a/flaskinventory/endpoints/routes.py +++ b/flaskinventory/endpoints/routes.py @@ -25,7 +25,7 @@ def quicksearch(): query_uid = validate_uid(query) or '0x0' query_regex = f'/{strip_query(query)}/i' query_string = f''' - query quicksearch($name: string) + query quicksearch($name: string, $name_regex: string, $name_uid: string) {{ field1 as a(func: anyofterms(name, $name)) field2 as b(func: anyofterms(other_names, $name))