mirror of
https://github.com/docusealco/docuseal
synced 2026-11-08 07:42:32 -05:00
add ngram
This commit is contained in:
1 parent
b6a1a3ee4d
commit
700184f776
6 files changed
+114
-27
No files matched your search
+1
-1
@@ -60,7 +60,7 @@ module Submissions
|
||||
arel = Arel::Nodes::Union.new(
|
||||
arel, Submitter.joins(:search_entry)
|
||||
.where(search_entry: { account_id: current_user.account_id })
|
||||
.where(*SearchEntries.build_tsquery(keyword))
|
||||
.where(*SearchEntries.build_tsquery(keyword, with_or_vector: true))
|
||||
.select(:submission_id).arel
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user