mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 19:00:32 -06:00
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
Block a user