Skip to content

Commit

Permalink
fixed formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
thortol committed Aug 19, 2024
1 parent ec73e5d commit f84156e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/cadet/assessments/assessments.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1982,7 +1982,9 @@ defmodule Cadet.Assessments do
query =
sort_submission(query, Map.get(params, "sortBy", ""), Map.get(params, "sortDirection", ""))

query = from([s, ans, asst, cr, user, group] in query, order_by: [desc: s.inserted_at, asc: s.id])
query =
from([s, ans, asst, cr, user, group] in query, order_by: [desc: s.inserted_at, asc: s.id])

submissions = Repo.all(query)

count_query =
Expand Down

0 comments on commit f84156e

Please sign in to comment.