diff options
author | Camil Staps <info@camilstaps.nl> | 2019-02-01 21:20:06 +0100 |
---|---|---|
committer | Camil Staps <info@camilstaps.nl> | 2019-08-07 20:49:16 +0200 |
commit | 66032506b54dc4a9fcce99d2053a65cbaa02d2a2 (patch) | |
tree | c15a677a61c7c84c7bf2684f8ae16e6e4e0b854d /app/views/projects | |
parent | c90fdfd8c6ec76551b3e7e9a781115bf024a6949 (diff) | |
download | gitlab-ce-66032506b54dc4a9fcce99d2053a65cbaa02d2a2.tar.gz |
Starrers view: fix search bar when a query did not match anything
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/starrers/index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/starrers/index.html.haml b/app/views/projects/starrers/index.html.haml index 94f12908209..5d5fb9d74b2 100644 --- a/app/views/projects/starrers/index.html.haml +++ b/app/views/projects/starrers/index.html.haml @@ -5,7 +5,7 @@ %span.flex-project-title = _("Starrers of <strong>%{project_name}</strong>").html_safe % { project_name: sanitize_project_name(@project.name) } %span.badge.badge-pill= @starrers.total_count - - if @starrers.size > 0 + - if @starrers.size > 0 || params[:search].present? .nav-controls = form_tag request.original_url, method: :get, class: 'form-inline user-search-form flex-users-form' do .form-group |