diff options
author | Valery Sizov <valery@gitlab.com> | 2016-11-03 12:22:56 +0200 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2016-11-04 13:41:14 +0200 |
commit | b7dff1b072204c8c2ad480301b3139e4823c41f4 (patch) | |
tree | b880d065fab69692dca0c637b27ae526d66d25ce /app/views | |
parent | 5ef2bd192aa9b3ecbfc23e83c6984e2a818fb736 (diff) | |
download | gitlab-ce-b7dff1b072204c8c2ad480301b3139e4823c41f4.tar.gz |
Fix: Todos Filter Shows All Users22588-todos-filter-shows-all-users
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/dashboard/todos/index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/dashboard/todos/index.html.haml b/app/views/dashboard/todos/index.html.haml index 2411cc45724..e247eebc3fc 100644 --- a/app/views/dashboard/todos/index.html.haml +++ b/app/views/dashboard/todos/index.html.haml @@ -37,7 +37,7 @@ - if params[:author_id].present? = hidden_field_tag(:author_id, params[:author_id]) = dropdown_tag(user_dropdown_label(params[:author_id], 'Author'), options: { toggle_class: 'js-user-search js-filter-submit js-author-search', title: 'Filter by author', filter: true, filterInput: 'input#author-search', dropdown_class: 'dropdown-menu-user dropdown-menu-selectable dropdown-menu-author js-filter-submit', - placeholder: 'Search authors', data: { any_user: 'Any Author', first_user: (current_user.username if current_user), current_user: true, project_id: (@project.id if @project), selected: params[:author_id], field_name: 'author_id', default_label: 'Author' } }) + placeholder: 'Search authors', data: { any_user: 'Any Author', first_user: (current_user.username if current_user), project_id: (@project.id if @project), selected: params[:author_id], field_name: 'author_id', default_label: 'Author', todo_filter: true, todo_state_filter: params[:state] || 'pending' } }) .filter-item.inline - if params[:type].present? = hidden_field_tag(:type, params[:type]) |