Allow sorting Dossiers by “has notifications” in traites

fixes #4351
This commit is contained in:
Nicolas Bouilleaud 2019-09-23 15:36:27 +02:00
parent d38bf7a993
commit e962fb26e0

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