mirror of https://github.com/veops/cmdb.git
parent
9c76b388c9
commit
98c7f97274
|
@ -242,7 +242,7 @@ class Search(object):
|
|||
_query_sql = ""
|
||||
if ":" in q:
|
||||
k = q.split(":")[0].strip()
|
||||
v = ":".join(q.split(":")[1:]).strip()
|
||||
v = "\:".join(q.split(":")[1:]).strip()
|
||||
current_app.logger.debug(v)
|
||||
field, field_type, operator, attr = self._attr_name_proc(k)
|
||||
if field == "_type":
|
||||
|
|
Loading…
Reference in New Issue