Skip to content

Commit a89988c

Browse files
committed
fix: update default sorting order
1 parent 3531040 commit a89988c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/algora/matches/matches.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ defmodule Algora.Matches do
88
alias Algora.Repo
99

1010
def list_job_matches(opts \\ []) do
11-
order_by_clause = opts[:order_by] || [desc: :inserted_at]
11+
order_by_clause = opts[:order_by] || [asc: :updated_at]
1212

1313
JobMatch
1414
|> filter_by_job_posting_id(opts[:job_posting_id])

0 commit comments

Comments
 (0)