[#2179] Generate denormalized search terms value for Dossier
This commit is contained in:
parent
01ca8cc3cc
commit
0e639030f9
16 changed files with 354 additions and 0 deletions
|
@ -20,6 +20,10 @@ class Champ < ApplicationRecord
|
|||
mandatory? && value.blank?
|
||||
end
|
||||
|
||||
def search_terms
|
||||
[ to_s ]
|
||||
end
|
||||
|
||||
def to_s
|
||||
if value.present?
|
||||
string_value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue