summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/label.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/label.rb b/app/models/label.rb
index e4fc4f251d8..aed74d0bde1 100644
--- a/app/models/label.rb
+++ b/app/models/label.rb
@@ -33,7 +33,7 @@ class Label < ActiveRecord::Base
scope :templates, -> { where(template: true) }
def self.prioritized
- where.not(priority: nil).reorder(Gitlab::Database.nulls_last_order(:priority), :title)
+ where.not(priority: nil).reorder(Gitlab::Database.nulls_last_order(:priority), :title)
end
def self.unprioritized