fix list_tags ordering by title instead of name

This commit is contained in:
Inhji 2023-06-11 10:10:19 +02:00
parent ab4b61376b
commit 6eaa72ca58

View file

@ -34,7 +34,7 @@ defmodule Chiya.Tags do
def list_tags do
Tag
|> with_preloads()
|> order_by(:title)
|> order_by(:name)
|> Repo.all()
end