diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2016-05-27 01:00:22 +0300 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2016-05-27 01:00:22 +0300 |
commit | 29db3f2c52d59abcc54a879d3fe7eb84c1e2f187 (patch) | |
tree | b334003be42cb349d423b3da5a152c3fd07a477c /app/views/shared/issuable | |
parent | fb83f4bfc04c1add79f417f4a56e59a323b1003b (diff) | |
parent | dddcab7e3f2a9dd83c6ed75b7efb622dc374b486 (diff) |
Merge branch 'filter-by-any-user' into 'master'
Filter issuables by any user
![any-user](/uploads/c9626b9ac355747344a7073f61dc0c82/any-user.gif)
Closes #2836
See merge request !3820
Diffstat (limited to 'app/views/shared/issuable')
-rw-r--r-- | app/views/shared/issuable/_filter.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_filter.html.haml b/app/views/shared/issuable/_filter.html.haml index 323d563cd4a..cedff4af2e0 100644 --- a/app/views/shared/issuable/_filter.html.haml +++ b/app/views/shared/issuable/_filter.html.haml @@ -12,7 +12,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, 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), current_user: true, project_id: (@project.id if @project), selected: params[:author], field_name: "author_id", default_label: "Author" } }) .filter-item.inline - if params[:assignee_id].present? |