mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
adjust search index
This commit is contained in:
1 parent
cd477c880c
commit
57503eefd2
2 files changed
+22
-10
No files matched your search
+1
-1
@@ -53,7 +53,7 @@ module Submitters
|
||||
end
|
||||
|
||||
[sql, number, weight, number.length > 1 ? number.delete_prefix('0') : number, weight]
|
||||
elsif keyword.match?(/[^\p{L}\d&@._\-]/)
|
||||
elsif keyword.match?(/[^\p{L}\d&@.\-]/)
|
||||
terms = TextUtils.transliterate(keyword.downcase).split(/\b/).map(&:squish).compact_blank.uniq
|
||||
|
||||
if terms.size > 1
|
||||
|
||||
Reference in new issue
Block a user