Place pagination outside .search-results
This commit is contained in:
parent
f01c54eeef
commit
e677bac933
1 changed files with 3 additions and 1 deletions
|
@ -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])}");
|
||||
|
|
Loading…
Reference in a new issue