Skip to content

Commit 2b98325

Browse files
committed
sort actively polled repos by inserted_at
1 parent 4fb603b commit 2b98325

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/algora_web/live/swift_bounties_live.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,8 @@ defmodule AlgoraWeb.SwiftBountiesLive do
513513
join: u in assoc(r, :user),
514514
where: r.provider == "github",
515515
where: ^conditions,
516-
preload: [user: u]
516+
preload: [user: u],
517+
order_by: [asc: r.inserted_at]
517518
)
518519
)
519520

0 commit comments

Comments
 (0)