mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
use display order for tags
This commit is contained in:
parent
ccd5c6aae1
commit
284c91e2c6
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ defmodule PhilomenaWeb.ImageLoader do
|
|||
|> Repo.all()
|
||||
|> Enum.uniq_by(& &1.id)
|
||||
|> Enum.filter(&is_nil(&1.aliased_tag))
|
||||
|> Tag.display_order()
|
||||
end
|
||||
|
||||
defp render_bodies([], _conn), do: []
|
||||
|
|
Loading…
Reference in a new issue