Fix attr search with non-string query. Resolve #1760
This commit is contained in:
parent
21a5285954
commit
f4f43158a8
1 changed files with 1 additions and 1 deletions
|
|
@ -405,7 +405,7 @@ class ObjectDBManager(TypedObjectManager):
|
||||||
if not matches:
|
if not matches:
|
||||||
# no matches found - check if we are dealing with N-keyword
|
# no matches found - check if we are dealing with N-keyword
|
||||||
# query - if so, strip it.
|
# query - if so, strip it.
|
||||||
match = _MULTIMATCH_REGEX.match(searchdata)
|
match = _MULTIMATCH_REGEX.match(str(searchdata))
|
||||||
match_number = None
|
match_number = None
|
||||||
if match:
|
if match:
|
||||||
# strips the number
|
# strips the number
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue