aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 fce254ffe..5f20a9717 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_requests.results.size) %>
+ <%= will_paginate WillPaginate::Collection.new(@page, @per_page, @xapian_requests.matches_estimated) %>
<% if @xapian_requests.results.empty? %>
<p><% _('There were no requests matching your query.') %></p>