diff --git a/app/views/administrations/_list.html.haml b/app/views/administrations/_list.html.haml index aab406cf6..81df10248 100644 --- a/app/views/administrations/_list.html.haml +++ b/app/views/administrations/_list.html.haml @@ -21,7 +21,7 @@ = admin.procedures.published.count %td - total_dossier = 0 - - admin.procedures.each do |procedure| total_dossier += procedure.dossiers.where.state_not_brouillon.count end + - admin.procedures.each do |procedure| total_dossier += procedure.dossiers.state_not_brouillon.count end = total_dossier = smart_listing.paginate = smart_listing.pagination_per_page_links