mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 21:47:59 +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()
|
|> Repo.all()
|
||||||
|> Enum.uniq_by(& &1.id)
|
|> Enum.uniq_by(& &1.id)
|
||||||
|> Enum.filter(&is_nil(&1.aliased_tag))
|
|> Enum.filter(&is_nil(&1.aliased_tag))
|
||||||
|
|> Tag.display_order()
|
||||||
end
|
end
|
||||||
|
|
||||||
defp render_bodies([], _conn), do: []
|
defp render_bodies([], _conn), do: []
|
||||||
|
|
Loading…
Reference in a new issue