Change order of the teams menu so it's in the joined time order

This commit is contained in:
alonso.torres 2021-10-08 15:00:22 +02:00
parent 4bf5434e8f
commit 703859ac75
2 changed files with 6 additions and 5 deletions

View file

@ -58,7 +58,7 @@
join team as t on (t.id = tp.team_id)
where t.deleted_at is null
and tp.profile_id = ?
order by t.created_at asc")
order by tp.created_at asc")
(defn retrieve-teams
[conn profile-id]