forked from rDrama/rDrama
fix /emojis list
parent
35fff9c1c7
commit
6edbc8b8b4
|
@ -54,7 +54,7 @@ def get_emoji_list(kind, nsfw):
|
||||||
if not nsfw:
|
if not nsfw:
|
||||||
emojis = emojis.filter(Emoji.nsfw == False)
|
emojis = emojis.filter(Emoji.nsfw == False)
|
||||||
|
|
||||||
emojis = emojis.order_by(Emoji.count.desc())
|
emojis = emojis.order_by(Emoji.count.desc()).all()
|
||||||
|
|
||||||
return emojis
|
return emojis
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue