diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-01-26 02:19:04 +0000 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-01-26 02:19:04 +0000 |
commit | b5354e661bd740e482cd3090876f9bd34164dcf3 (patch) | |
tree | 1e107b7b9fe7480d0af15a25918784f355db9305 | |
parent | 713027e74333a6fab3b398aa370609bb23df52f7 (diff) |
Fix #364 properly: third time lucky!
-rw-r--r-- | app/views/public_body/show.rhtml | 2 |
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> |