aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Houston <robin.houston@gmail.com>2012-01-26 02:15:18 +0000
committerRobin Houston <robin.houston@gmail.com>2012-01-26 02:15:18 +0000
commit713027e74333a6fab3b398aa370609bb23df52f7 (patch)
tree2d6b7fd83966b4af72f2f5f69542e2a1408d543d
parented7c326a990ad19f006488eda44e7a2cdc434ba9 (diff)
Fix #364 properly (?)
-rw-r--r--app/views/public_body/show.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/public_body/show.rhtml b/app/views/public_body/show.rhtml
index afc04af62..fce254ffe 100644
--- a/app/views/public_body/show.rhtml
+++ b/app/views/public_body/show.rhtml
@@ -103,7 +103,7 @@
<%= render :partial => 'request/request_listing_via_event', :locals => { :event => result[:model], :info_request => result[:model].info_request } %>
<% end %>
- <%= will_paginate WillPaginate::Collection.new(@page, @per_page, @xapian_results.size) %>
+ <%= will_paginate WillPaginate::Collection.new(@page, @per_page, @xapian_requests.results.size) %>
<% if @xapian_requests.results.empty? %>
<p><% _('There were no requests matching your query.') %></p>