From f8309c45a68d2b6fee4a43e67ab7ce52d3bd2c2f Mon Sep 17 00:00:00 2001 From: Christophe Robillard Date: Mon, 3 Feb 2020 15:10:56 +0100 Subject: [PATCH] admin: order by user email --- .../procedure_administrateurs/index.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/new_administrateur/procedure_administrateurs/index.html.haml b/app/views/new_administrateur/procedure_administrateurs/index.html.haml index d270dad37..8383f5e78 100644 --- a/app/views/new_administrateur/procedure_administrateurs/index.html.haml +++ b/app/views/new_administrateur/procedure_administrateurs/index.html.haml @@ -11,7 +11,7 @@ %th= 'Enregistré le' %th= 'État' %tbody{ id: "procedure-#{@procedure.id}-administrateurs" } - = render partial: 'administrateur', collection: @procedure.administrateurs.order(:email) + = render partial: 'administrateur', collection: @procedure.administrateurs.order('users.email') %tfoot %tr %th{ colspan: 4 }