replace virtual: true by displayable: false

This commit is contained in:
simon lehericey 2024-09-02 17:22:48 +02:00
parent 31cc6578aa
commit 3c7c58623f
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5

View file

@ -8,7 +8,7 @@ module AddressableColumnConcern
super.concat([ super.concat([
Columns::JSONPathColumn.new( Columns::JSONPathColumn.new(
table:, table:,
virtual: true, displayable: false,
column: stable_id, column: stable_id,
label: "#{libelle} code postal (5 chiffres)", label: "#{libelle} code postal (5 chiffres)",
type: :text, type: :text,
@ -16,7 +16,7 @@ module AddressableColumnConcern
), ),
Columns::JSONPathColumn.new( Columns::JSONPathColumn.new(
table:, table:,
virtual: true, displayable: false,
column: stable_id, column: stable_id,
label: "#{libelle} commune", label: "#{libelle} commune",
type: :text, type: :text,
@ -24,7 +24,7 @@ module AddressableColumnConcern
), ),
Columns::JSONPathColumn.new( Columns::JSONPathColumn.new(
table:, table:,
virtual: true, displayable: false,
column: stable_id, column: stable_id,
label: "#{libelle} département", label: "#{libelle} département",
type: :enum, type: :enum,
@ -32,7 +32,7 @@ module AddressableColumnConcern
), ),
Columns::JSONPathColumn.new( Columns::JSONPathColumn.new(
table:, table:,
virtual: true, displayable: false,
column: stable_id, column: stable_id,
label: "#{libelle} region", label: "#{libelle} region",
type: :enum, type: :enum,