fix selected week on weekly stats page

closes #6079
This commit is contained in:
Benjamin Neff 2015-06-07 20:07:58 +02:00 committed by Jonne Haß
parent 2571b042c6
commit 735d692ac0
2 changed files with 2 additions and 1 deletions

View file

@ -56,6 +56,7 @@
* Disable autocorrect for username on mobile sign in [#6028](https://github.com/diaspora/diaspora/pull/6028) * Disable autocorrect for username on mobile sign in [#6028](https://github.com/diaspora/diaspora/pull/6028)
* Fix broken default avatars in the database [#6014](https://github.com/diaspora/diaspora/pull/6014) * Fix broken default avatars in the database [#6014](https://github.com/diaspora/diaspora/pull/6014)
* Only strip text direction codepoints around hashtags [#6067](https://github.com/diaspora/diaspora/issues/6067) * Only strip text direction codepoints around hashtags [#6067](https://github.com/diaspora/diaspora/issues/6067)
* Fix selected week on admin weekly stats page [#6079](https://github.com/diaspora/diaspora/pull/6079)
## Features ## Features
* Hide post title of limited post in comment notification email [#5843](https://github.com/diaspora/diaspora/pull/5843) * Hide post title of limited post in comment notification email [#5843](https://github.com/diaspora/diaspora/pull/5843)

View file

@ -7,7 +7,7 @@
%div.pull-right %div.pull-right
= form_tag('/admins/weekly_user_stats', method: 'get', class: 'form-inline') do = form_tag('/admins/weekly_user_stats', method: 'get', class: 'form-inline') do
= select_tag(:week, options_for_select(@created_users_by_week.keys.reverse), selected: @selected_week) = select_tag(:week, options_for_select(@created_users_by_week.keys.reverse, @selected_week))
= submit_tag t('admins.stats.go'), class: 'btn btn-primary' = submit_tag t('admins.stats.go'), class: 'btn btn-primary'
= t('.amount_of', count: @counter) = t('.amount_of', count: @counter)