Merge pull request #4353 from betagouv/allow-sorting-dossier-traites-by-notification

Allow sorting Dossiers by “has notifications” in `traites`
This commit is contained in:
Nicolas Bouilleaud 2019-09-24 09:43:54 +02:00 committed by GitHub
commit 9c4ea40d73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -85,7 +85,7 @@
%table.table.dossiers-table.hoverable
%thead
%tr
- if @statut == 'suivis' || @statut == 'tous'
- if @statut.in? %w(suivis traites tous)
= render partial: "header_field", locals: { field: { "label" => "●", "table" => "notifications", "column" => "notifications" }, classname: "notification-col" }
- else
%th.notification-col