We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83b78bf commit b2e5780Copy full SHA for b2e5780
core/common/search.py
@@ -65,9 +65,9 @@ def get_wildcard_search_string(_str):
65
@staticmethod
66
def get_search_string(search_str, lower=True, decode=True):
67
if lower:
68
- search_str = search_str.lower()
+ search_str = str(search_str).lower()
69
if decode:
70
- search_str = search_str.replace('**', '*')
+ search_str = str(search_str).replace('**', '*')
71
starts_with_asterisk = search_str.startswith('*')
72
ends_with_asterisk = search_str.endswith('*')
73
if starts_with_asterisk:
0 commit comments