fix(dossiers): exclude deleted dossiers from notifications
This commit is contained in:
parent
4ae88ac58d
commit
a171ebb772
1 changed files with 1 additions and 0 deletions
|
@ -161,6 +161,7 @@ class Instructeur < ApplicationRecord
|
|||
groupe_instructeur_ids = Dossier
|
||||
.send(scope) # :en_cours or :termine (or any other Dossier scope)
|
||||
.merge(followed_dossiers)
|
||||
.visible_by_administration
|
||||
.with_notifications
|
||||
.select(:groupe_instructeur_id)
|
||||
|
||||
|
|
Loading…
Reference in a new issue