Merge branch 'fix-emoji-pagination' into 'develop'
Fix for emoji pagination in pack show See merge request pleroma/pleroma!2681
This commit is contained in:
commit
ae94fcc95f
@ -45,6 +45,7 @@ defmodule Pleroma.Emoji.Pack do
|
||||
shortcodes =
|
||||
pack.files
|
||||
|> Map.keys()
|
||||
|> Enum.sort()
|
||||
|> paginate(opts[:page], opts[:page_size])
|
||||
|
||||
pack = Map.put(pack, :files, Map.take(pack.files, shortcodes))
|
||||
|
Loading…
Reference in New Issue
Block a user