Skip to content
Snippets Groups Projects
Commit 5d94580b authored by Allen Gilliland's avatar Allen Gilliland
Browse files

set default order on dashboard 'ordered_cards' to be by :created_at :asc so it...

set default order on dashboard 'ordered_cards' to be by :created_at :asc so it matches the django app.  this realistically only affects the card order when no explicit order has been set by repositioning them.
parent f6a4cfa3
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@
(assoc :creator (delay (sel :one User :id creator_id))
:description (util/jdbc-clob->str description)
:organization (delay (sel :one Org :id organization_id))
:ordered_cards (delay (sel :many DashboardCard :dashboard_id id)))
:ordered_cards (delay (sel :many DashboardCard :dashboard_id id (order :created_at :asc))))
assoc-permissions-sets))
; TODO - ordered_cards
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment