From 3c7c58623f426aacc4c0e9c470b8916b91187fe1 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Mon, 2 Sep 2024 17:22:48 +0200 Subject: [PATCH] replace `virtual: true` by `displayable: false` --- app/models/concerns/addressable_column_concern.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/models/concerns/addressable_column_concern.rb b/app/models/concerns/addressable_column_concern.rb index 196f34e75..98cdab56d 100644 --- a/app/models/concerns/addressable_column_concern.rb +++ b/app/models/concerns/addressable_column_concern.rb @@ -8,7 +8,7 @@ module AddressableColumnConcern super.concat([ Columns::JSONPathColumn.new( table:, - virtual: true, + displayable: false, column: stable_id, label: "#{libelle} – code postal (5 chiffres)", type: :text, @@ -16,7 +16,7 @@ module AddressableColumnConcern ), Columns::JSONPathColumn.new( table:, - virtual: true, + displayable: false, column: stable_id, label: "#{libelle} – commune", type: :text, @@ -24,7 +24,7 @@ module AddressableColumnConcern ), Columns::JSONPathColumn.new( table:, - virtual: true, + displayable: false, column: stable_id, label: "#{libelle} – département", type: :enum, @@ -32,7 +32,7 @@ module AddressableColumnConcern ), Columns::JSONPathColumn.new( table:, - virtual: true, + displayable: false, column: stable_id, label: "#{libelle} – region", type: :enum,