diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-03-01 20:09:30 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-03-01 20:09:30 -0500 |
commit | f01c54eeef9a30044d974403aec371577e1a04c2 (patch) | |
tree | 35dd431ea4d100a910859fa35444b59bad745c8f /app/views/search | |
parent | 6aa50165b0acc355925e271f07ef8e87291e0232 (diff) | |
download | gitlab-ce-f01c54eeef9a30044d974403aec371577e1a04c2.tar.gz |
Include pagination for other than projects search
Diffstat (limited to 'app/views/search')
-rw-r--r-- | app/views/search/_results.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/search/_results.html.haml b/app/views/search/_results.html.haml index eef7b7b5efd..e389ec1d2b2 100644 --- a/app/views/search/_results.html.haml +++ b/app/views/search/_results.html.haml @@ -18,7 +18,7 @@ = render 'shared/projects/list', projects: @objects - else = render partial: "search/results/#{@scope.singularize}", collection: @objects - = paginate @objects, theme: 'gitlab' + = paginate @objects, theme: 'gitlab' :javascript $(".search-results .term").highlight("#{escape_javascript(params[:search])}"); |