2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-04-03 16:29:42 +02:00
|
|
|
class Champs::SiretChamp < Champ
|
2023-01-09 15:29:18 +01:00
|
|
|
include SiretChampEtablissementFetchableConcern
|
|
|
|
|
2018-07-25 19:34:06 +02:00
|
|
|
def search_terms
|
2018-12-24 17:29:46 +01:00
|
|
|
etablissement.present? ? etablissement.search_terms : [value]
|
2018-07-25 19:34:06 +02:00
|
|
|
end
|
2018-04-03 16:29:42 +02:00
|
|
|
end
|