moins de count dans Instructeurs::ProceduresController#show
exploitation de dossiers_count_for_instructeur dans Instructeurs::ProceduresController#showpour sortir les chiffres facilement
This commit is contained in:
parent
b4910c557d
commit
640984f9b6
2 changed files with 8 additions and 7 deletions
|
@ -102,6 +102,7 @@ module Instructeurs
|
|||
@has_termine_notifications = current_instructeur.notifications_for_procedure(@procedure, :termine).exists?
|
||||
|
||||
@not_archived_notifications_dossier_ids = current_instructeur.notifications_for_procedure(@procedure, :not_archived).pluck(:id)
|
||||
@counters = @procedure.dossiers_count_for_instructeur(current_instructeur)
|
||||
|
||||
sorted_ids = procedure_presentation.sorted_ids(@dossiers, current_instructeur)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue