mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
skip autocomplete
This commit is contained in:
1 parent
2491b7b7e3
commit
6f0e7c0ca8
1 file changed
+2
-2
+2
-2
@@ -35,11 +35,11 @@ module Submitters
|
||||
def fulltext_search_field(current_user, submitters, keyword, field_name)
|
||||
keyword = keyword.delete("\0")
|
||||
|
||||
return submitters if keyword.blank?
|
||||
return submitters.none if keyword.blank?
|
||||
|
||||
weight = FIELD_NAME_WEIGHTS[field_name]
|
||||
|
||||
return submitters if weight.blank?
|
||||
return submitters.none if weight.blank?
|
||||
|
||||
query =
|
||||
if keyword.match?(/\d/) && !keyword.match?(/\p{L}/)
|
||||
|
||||
Reference in new issue
Block a user