From fa50e21101c4f79faa6c85d37758d61adeb9850c Mon Sep 17 00:00:00 2001 From: mfo Date: Mon, 28 Oct 2024 17:40:14 +0100 Subject: [PATCH] review(pull/10591#discussion_r1818919818): export without user id --- app/models/concerns/columns_concern.rb | 1 - spec/models/concerns/columns_concern_spec.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/app/models/concerns/columns_concern.rb b/app/models/concerns/columns_concern.rb index 3a473ba58..bc963da8d 100644 --- a/app/models/concerns/columns_concern.rb +++ b/app/models/concerns/columns_concern.rb @@ -127,7 +127,6 @@ module ColumnsConcern followers_instructeurs_email_column, groupe_instructeurs_id_column, Column.new(procedure_id: id, table: 'avis', column: 'question_answer', filterable: false), - Column.new(procedure_id: id, table: 'user', column: 'id', filterable: false, displayable: false), user_france_connected_column ] end diff --git a/spec/models/concerns/columns_concern_spec.rb b/spec/models/concerns/columns_concern_spec.rb index 7a518f0fa..8262588c4 100644 --- a/spec/models/concerns/columns_concern_spec.rb +++ b/spec/models/concerns/columns_concern_spec.rb @@ -50,7 +50,6 @@ describe ColumnsConcern do { label: 'Email instructeur', table: 'followers_instructeurs', column: 'email', displayable: true, type: :text, scope: '', value_column: :value, filterable: true }, { label: 'Groupe instructeur', table: 'groupe_instructeur', column: 'id', displayable: true, type: :enum, scope: '', value_column: :value, filterable: true }, { label: 'Avis oui/non', table: 'avis', column: 'question_answer', displayable: true, type: :text, scope: '', value_column: :value, filterable: false }, - { label: 'Identifiant du demandeur', table: 'user', column: 'id', displayable: false, type: :text, scope: '', value_column: :value, filterable: false }, { label: 'FranceConnect ?', table: 'self', column: 'user_from_france_connect?', displayable: false, type: :text, scope: '', value_column: :value, filterable: false }, { label: 'SIREN', table: 'etablissement', column: 'entreprise_siren', displayable: true, type: :text, scope: '', value_column: :value, filterable: true }, { label: 'Forme juridique', table: 'etablissement', column: 'entreprise_forme_juridique', displayable: true, type: :text, scope: '', value_column: :value, filterable: true },