use display order for tags

This commit is contained in:
byte[] 2019-12-08 13:04:06 -05:00
parent ccd5c6aae1
commit 284c91e2c6

View file

@ -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: []