Skip to content

Commit

Permalink
Sort attendances alphabetically by default (#2788)
Browse files Browse the repository at this point in the history
This gives the page a default sorting order.
  • Loading branch information
thomasleese authored Dec 20, 2024
2 parents 212548b + 9b1b1eb commit 99d9f9e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,10 @@
defaults section: "attendances" do
get "/",
as: "attendances",
to: redirect("/sessions/%{session_slug}/attendances/unregistered")
to:
redirect(
"/sessions/%{session_slug}/attendances/unregistered?sort=name&direction=asc"
)

get ":tab",
controller: "register_attendances",
Expand Down

0 comments on commit 99d9f9e

Please sign in to comment.