Skip to content
Permalink
Browse files

remove results per page text from search pages

  • Loading branch information...
robramsaynz committed Apr 8, 2015
1 parent a4b88c4 commit 092260b5abd1da8e3dfa7e2cff0c72d1e5120b97
Showing with 0 additions and 8 deletions.
  1. +0 −8 app/views/search/_results.html.haml
@@ -97,12 +97,4 @@
- if current_user_can_see_add_links? && scope.current_content_item_type != 'Comment'
= scope.link_to_add_item(:phrase => t('search.results.add_a_new'), :item_class => scope.current_content_item_type)
\ 
#showlinks
= t 'search.results.show'
- SystemSetting.records_per_page_choices.each do |choice|
- if scope.number_per_page != choice
= link_to(choice, { :overwrite_params => { :number_of_results_per_page => choice, :page => 1 } }, { :tabindex => '1', :rel => 'nofollow' })
- else
%a#thisnumber{:href => "#"}= choice
= t 'search.results.results_on_this_page'
.cleaner  

0 comments on commit 092260b

Please sign in to comment.
You can’t perform that action at this time.