Skip to content

Commit 078ed52

Browse files
authored
fix: activities list dropdown (#833) (#1186)
Closes #833. Every other year picker reads the selected year except this one, so this was a very easy fix :)
1 parent db45b76 commit 078ed52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/members/home/index.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
%span
7777
%i.fa.fa-fw.fa-fw.fa-ticket-alt
7878
= I18n.t("navigation.activity")
79-
= select_tag :year, options_for_select( @years), class: 'year-selector'
79+
= select_tag :year, options_for_select( @years, params['year'] ), class: 'year-selector'
8080
%table.table.table-striped
8181
%tbody
8282
- @participants.each do |activity|

0 commit comments

Comments
 (0)