From 45d7718572657403309a34aba47d1d8a5cfa5b0a Mon Sep 17 00:00:00 2001 From: Anton Date: Mon, 10 Jan 2022 14:55:11 +0100 Subject: [PATCH 1/2] Add A-Z sort for assignment modals [SCI-6325] --- .../access_permissions/experiments/modals/_edit_modal.html.erb | 2 +- .../access_permissions/experiments/modals/_show_modal.html.erb | 2 +- .../access_permissions/my_modules/modals/_edit_modal.html.erb | 2 +- .../access_permissions/my_modules/modals/_show_modal.html.erb | 2 +- .../partials/_edit_assignments_content.html.erb | 2 +- .../access_permissions/projects/modals/_show_modal.html.erb | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/access_permissions/experiments/modals/_edit_modal.html.erb b/app/views/access_permissions/experiments/modals/_edit_modal.html.erb index 49bc960e8..462d88415 100644 --- a/app/views/access_permissions/experiments/modals/_edit_modal.html.erb +++ b/app/views/access_permissions/experiments/modals/_edit_modal.html.erb @@ -12,7 +12,7 @@ <%= t '.description' %>


- <% users.each do |user| %> + <% users.order(full_name: :asc).each do |user| %> <%= render partial: 'access_permissions/partials/experiment_member_field', locals: { user: user, diff --git a/app/views/access_permissions/experiments/modals/_show_modal.html.erb b/app/views/access_permissions/experiments/modals/_show_modal.html.erb index 940aae9f0..2df07ba35 100644 --- a/app/views/access_permissions/experiments/modals/_show_modal.html.erb +++ b/app/views/access_permissions/experiments/modals/_show_modal.html.erb @@ -8,7 +8,7 @@ From cbcba90a8efe5d7335e982801b88abcf7b22dc65 Mon Sep 17 00:00:00 2001 From: Anton Date: Tue, 25 Jan 2022 10:10:57 +0100 Subject: [PATCH 2/2] Fix markup [SCI-6325] --- .../access_permissions/projects/modals/_show_modal.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/access_permissions/projects/modals/_show_modal.html.erb b/app/views/access_permissions/projects/modals/_show_modal.html.erb index c5d9e2609..3b8d2c9d0 100644 --- a/app/views/access_permissions/projects/modals/_show_modal.html.erb +++ b/app/views/access_permissions/projects/modals/_show_modal.html.erb @@ -8,7 +8,7 @@