ixti / redmine_tags

Redmine plugin, that adds issues tagging support
GNU General Public License v3.0
196 stars 119 forks source link

"Manage tags" view broken #198

Closed AThomsen closed 6 years ago

AThomsen commented 6 years ago

With the addition of a5f13e0 , MSSQL complains that tags.name is present two times in the ORDER BY clause.

Fix:

--- a/app/views/tags/_manage_tags.html.erb
+++ b/app/views/tags/_manage_tags.html.erb
@@ -1,4 +1,4 @@
-<% tags = Issue.available_tags.order(:name) %>
+<% tags = Issue.available_tags %>
 <% unless tags.empty? %>
   <table class="list issues">
     <thead>