demarches-normaliennes/app/models/champs/siret_champ.rb

6 lines
128 B
Ruby
Raw Normal View History

2018-04-03 16:29:42 +02:00
class Champs::SiretChamp < Champ
def search_terms
etablissement.present? ? etablissement.search_terms : [value]
end
2018-04-03 16:29:42 +02:00
end