mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 23:56:09 +10:00
Merge branch 'issue_13933' into 'master'
Include pagination for other than projects search Pagination for projects results is already added on views/shared/projects/_list.html.haml Fixes #13933 See merge request !3056
This commit is contained in:
@@ -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])}");
|
||||
|
||||
Reference in New Issue
Block a user