Skip to content
Snippets Groups Projects
Commit 581bdd7b authored by Milan Čermák's avatar Milan Čermák
Browse files

Attribute search fix

parent 67c5b182
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,7 @@ def attribute_search(request: query_models.AttributeValueQuery) -> dict:
dgraph_client = DgraphClient()
query = f"""{{
attribute_search(func: has({request.attribute})) @filter(eq({request.attribute}, {request.value})) {{
attribute_search(func: has({request.attribute})) @filter(eq({request.attribute}, "{request.value}")) {{
expand(_all_)
}}
}}"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment