UX: Order custom emojis by name.
This commit is contained in:
parent
a818fa9831
commit
99abbc2e2d
|
@ -92,7 +92,7 @@ class Emoji
|
|||
def self.load_custom
|
||||
result = []
|
||||
|
||||
CustomEmoji.all.each do |emoji|
|
||||
CustomEmoji.order(:name).all.each do |emoji|
|
||||
result << Emoji.new.tap do |e|
|
||||
e.name = emoji.name
|
||||
e.url = emoji.upload.url
|
||||
|
|
Loading…
Reference in New Issue