Merge pull request #573 from sgmap/fix_admninistration_view

fix administration view
This commit is contained in:
Mathieu Magnin 2017-07-11 09:41:14 +02:00 committed by GitHub
commit 671ec231e7

View file

@ -21,7 +21,7 @@
= admin.procedures.published.count = admin.procedures.published.count
%td %td
- total_dossier = 0 - 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 = total_dossier
= smart_listing.paginate = smart_listing.paginate
= smart_listing.pagination_per_page_links = smart_listing.pagination_per_page_links