summaryrefslogtreecommitdiff
path: root/app/finders/labels_finder.rb
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-19 11:59:31 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-19 14:58:28 -0200
commite6957a6b4776c47e7f21bd7494e4efafa63501ca (patch)
tree66ab48459cd56b8e89802b2d8fc4c71a3c425e17 /app/finders/labels_finder.rb
parent4f6d1c1d70d744ff599ae9c51e1cbc3a3c23e13e (diff)
downloadgitlab-ce-e6957a6b4776c47e7f21bd7494e4efafa63501ca.tar.gz
Remove order by label type on LabelsFinder
Diffstat (limited to 'app/finders/labels_finder.rb')
-rw-r--r--app/finders/labels_finder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/labels_finder.rb b/app/finders/labels_finder.rb
index a5802171b6c..6ace14a4bb5 100644
--- a/app/finders/labels_finder.rb
+++ b/app/finders/labels_finder.rb
@@ -31,7 +31,7 @@ class LabelsFinder < UnionFinder
end
def sort(items)
- items.reorder(title: :asc, type: :desc)
+ items.reorder(title: :asc)
end
def with_title(items)