diff options
author | Bartholomew <mackintosh02@gmail.com> | 2016-06-06 00:35:23 +0000 |
---|---|---|
committer | Bartholomew <mackintosh02@gmail.com> | 2016-06-06 00:35:23 +0000 |
commit | 9b6c7e365fbf297d72a0c2770d5b8837da2f4879 (patch) | |
tree | 0f5bc29c8270dd0775a9998f45377de0a6276b2c /app/views/dashboard/_projects_head.html.haml | |
parent | cc0ea13d21de6adb1ac361024ee88d383b267cc7 (diff) | |
download | gitlab-ce-9b6c7e365fbf297d72a0c2770d5b8837da2f4879.tar.gz |
fix double query string in url
Diffstat (limited to 'app/views/dashboard/_projects_head.html.haml')
-rw-r--r-- | app/views/dashboard/_projects_head.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/dashboard/_projects_head.html.haml b/app/views/dashboard/_projects_head.html.haml index 9da3fcbd986..5a6c6113d19 100644 --- a/app/views/dashboard/_projects_head.html.haml +++ b/app/views/dashboard/_projects_head.html.haml @@ -13,7 +13,7 @@ Explore Projects .nav-controls - = form_tag request.original_url, method: :get, class: 'project-filter-form', id: 'project-filter-form' do |f| + = form_tag request.original_url.split('?').first, method: :get, class: 'project-filter-form', id: 'project-filter-form' do |f| = search_field_tag :filter_projects, params[:filter_projects], placeholder: 'Filter by name...', class: 'project-filter-form-field form-control input-short projects-list-filter', spellcheck: false, id: 'project-filter-form-field', tabindex: "2" = render 'shared/projects/dropdown' - if current_user.can_create_project? |