From c49f9329335c2e7179ef85e017dd2a2fe09a5e87 Mon Sep 17 00:00:00 2001 From: MontrealSergiy Date: Mon, 25 Mar 2024 15:11:53 -0400 Subject: [PATCH 1/2] the tool tag list in reordered alphabetic order resolves #1383 --- BrainPortal/app/views/userfiles/_tools_interface.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BrainPortal/app/views/userfiles/_tools_interface.html.erb b/BrainPortal/app/views/userfiles/_tools_interface.html.erb index c24aa8c5d..64a2efa56 100644 --- a/BrainPortal/app/views/userfiles/_tools_interface.html.erb +++ b/BrainPortal/app/views/userfiles/_tools_interface.html.erb @@ -24,7 +24,7 @@ <% types = @my_tools.map { |t| t.application_type :array }.flatten.uniq packages = @my_tools.map { |t| t.application_package_name :array }.flatten.uniq - tags = @my_tools.map { |t| t.application_tags :array }.flatten.uniq + tags = @my_tools.map { |t| t.application_tags :array }.flatten.sort_by{|tag| tag.downcase}.uniq %>
From 7d38f5ef3869e9457c4d54d9aaa8767e0699c52b Mon Sep 17 00:00:00 2001 From: MontrealSergiy Date: Mon, 25 Mar 2024 18:44:16 -0400 Subject: [PATCH 2/2] add space --- BrainPortal/app/views/userfiles/_tools_interface.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BrainPortal/app/views/userfiles/_tools_interface.html.erb b/BrainPortal/app/views/userfiles/_tools_interface.html.erb index 64a2efa56..e4b2ba930 100644 --- a/BrainPortal/app/views/userfiles/_tools_interface.html.erb +++ b/BrainPortal/app/views/userfiles/_tools_interface.html.erb @@ -24,7 +24,7 @@ <% types = @my_tools.map { |t| t.application_type :array }.flatten.uniq packages = @my_tools.map { |t| t.application_package_name :array }.flatten.uniq - tags = @my_tools.map { |t| t.application_tags :array }.flatten.sort_by{|tag| tag.downcase}.uniq + tags = @my_tools.map { |t| t.application_tags :array }.flatten.sort_by{ |tag| tag.downcase }.uniq %>