refactor: always load full dossier
This commit is contained in:
parent
fe0a396dc6
commit
c415b066b9
4 changed files with 47 additions and 60 deletions
|
@ -105,7 +105,7 @@ module Instructeurs
|
|||
.per(ITEMS_PER_PAGE)
|
||||
|
||||
@projected_dossiers = DossierProjectionService.project(@filtered_sorted_paginated_ids, procedure_presentation.displayed_columns)
|
||||
@disable_checkbox_all = @projected_dossiers.all? { _1.batch_operation_id.present? }
|
||||
@disable_checkbox_all = @projected_dossiers.all? { _1.dossier.batch_operation_id.present? }
|
||||
|
||||
@batch_operations = BatchOperation.joins(:groupe_instructeurs)
|
||||
.where(groupe_instructeurs: current_instructeur.groupe_instructeurs.where(procedure_id: @procedure.id))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue