Make tag handling much more flexible
This commit is contained in:
@@ -72,7 +72,8 @@ def create_tags(query):
|
||||
spl = query.split("AND")
|
||||
spl = [x.strip() for x in spl if ":" in x]
|
||||
spl = [x.replace('"', "") for x in spl]
|
||||
return spl
|
||||
tags = [f"{tag}: {elem}" for tag, elem in [x.split(":") for x in spl]]
|
||||
return tags
|
||||
|
||||
|
||||
def drilldown_search(request):
|
||||
|
||||
Reference in New Issue
Block a user