Skip to content

Commit 7d72c34

Browse files
committed
feat: add ordering to by candidate approval and bookmark status
1 parent 03e819d commit 7d72c34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/algora/matches/matches.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ defmodule Algora.Matches do
172172
list_job_matches(
173173
user_id: user_id,
174174
status: [:approved, :highlighted],
175+
order_by: [asc: :candidate_approved_at, asc: :candidate_bookmarked_at, desc: :candidate_discarded_at],
175176
preload: [job_posting: :user]
176177
)
177178
end

0 commit comments

Comments
 (0)