Eager load procedure: :groupe_instructeurs for export
This commit is contained in:
parent
a2f82ab8be
commit
faddbc23ef
1 changed files with 2 additions and 1 deletions
|
@ -126,7 +126,8 @@ class Dossier < ApplicationRecord
|
||||||
champs_private: {
|
champs_private: {
|
||||||
etablissement: :champ,
|
etablissement: :champ,
|
||||||
type_de_champ: :drop_down_list
|
type_de_champ: :drop_down_list
|
||||||
}
|
},
|
||||||
|
procedure: :groupe_instructeurs
|
||||||
).order(en_construction_at: 'asc')
|
).order(en_construction_at: 'asc')
|
||||||
}
|
}
|
||||||
scope :en_cours, -> { not_archived.state_en_construction_ou_instruction }
|
scope :en_cours, -> { not_archived.state_en_construction_ou_instruction }
|
||||||
|
|
Loading…
Add table
Reference in a new issue