diff --git a/app/views/search/_results.html.haml b/app/views/search/_results.html.haml index eef7b7b5efd2a06571d918fe09596eba8f14734d..60df348891cb9ec7442c55708e2a9c4b840444cc 100644 --- a/app/views/search/_results.html.haml +++ b/app/views/search/_results.html.haml @@ -18,7 +18,9 @@ = render 'shared/projects/list', projects: @objects - else = render partial: "search/results/#{@scope.singularize}", collection: @objects - = paginate @objects, theme: 'gitlab' + + - if @scope != 'projects' + = paginate @objects, theme: 'gitlab' :javascript $(".search-results .term").highlight("#{escape_javascript(params[:search])}");