From 735d692ac0654b3e11a874134181cb7f238648f2 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sun, 7 Jun 2015 20:07:58 +0200 Subject: [PATCH] fix selected week on weekly stats page closes #6079 --- Changelog.md | 1 + app/views/admins/weekly_user_stats.haml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index debc765a9..8c0856f2b 100644 --- a/Changelog.md +++ b/Changelog.md @@ -56,6 +56,7 @@ * 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) * 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 * Hide post title of limited post in comment notification email [#5843](https://github.com/diaspora/diaspora/pull/5843) diff --git a/app/views/admins/weekly_user_stats.haml b/app/views/admins/weekly_user_stats.haml index 47e5a1a81..901933a97 100644 --- a/app/views/admins/weekly_user_stats.haml +++ b/app/views/admins/weekly_user_stats.haml @@ -7,7 +7,7 @@ %div.pull-right = 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' = t('.amount_of', count: @counter)