From 38b7ec572697a71dc4c468e6a53ac8b018b3c298 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Fri, 8 Jul 2011 15:11:53 -0700 Subject: [PATCH] [#191] Add pagination links above the search results --- app/views/search/index.rhtml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/views/search/index.rhtml b/app/views/search/index.rhtml index c5a891d4..db9e3b64 100644 --- a/app/views/search/index.rhtml +++ b/app/views/search/index.rhtml @@ -24,6 +24,9 @@

<%= l(:label_result_plural) %> (<%= @results_by_type.values.sum %>)

+ + <%= render :partial => 'pagination', :locals => {:pagination_previous_date => @pagination_previous_date, :pagination_next_date => @pagination_next_date } %> +
<% @results.each do |e| %>