Commit 4ac907ee authored by Alfredo Sumaran's avatar Alfredo Sumaran

typo

parent d4bcf516
...@@ -33,7 +33,7 @@ class Label < ActiveRecord::Base ...@@ -33,7 +33,7 @@ class Label < ActiveRecord::Base
scope :templates, -> { where(template: true) } scope :templates, -> { where(template: true) }
def self.prioritized 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 end
def self.unprioritized def self.unprioritized
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment