Merge pull request #6000 from betagouv/fix-experts-lookup
Correction de DossiersController#avis_for_expert
This commit is contained in:
commit
372a4e8eee
1 changed files with 0 additions and 1 deletions
|
@ -497,7 +497,6 @@ class Dossier < ApplicationRecord
|
|||
.where(confidentiel: false)
|
||||
.or(avis.where(claimant_id: expert.id, claimant_type: 'Expert', tmp_expert_migrated: true))
|
||||
.or(avis.where(claimant_id: instructeur, claimant_type: 'Instructeur', tmp_expert_migrated: false))
|
||||
.or(avis.where(expert: expert))
|
||||
.order(created_at: :asc)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue