Append * also for searches with umlaut or other utf8 chars.
This commit is contained in:
parent
d6bc129af4
commit
81c6aa0af0
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ return search result
|
|||
end
|
||||
|
||||
# add * on simple query search
|
||||
if query && query =~ /^\w+$/
|
||||
if query && query =~ /^[[:alpha:]]+$/
|
||||
query += '*'
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue