diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-01-26 02:13:00 +0000 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-01-26 02:13:00 +0000 |
commit | ed7c326a990ad19f006488eda44e7a2cdc434ba9 (patch) | |
tree | 6bb8f4025542110f05b007515f059a0066a9fa97 | |
parent | e6ee7fe3cb767f705493b68ab4a1175f62c0f9d2 (diff) |
Fix #364
-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 8324ee1b5..afc04af62 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, @public_body.info_requests.size) %> + <%= will_paginate WillPaginate::Collection.new(@page, @per_page, @xapian_results.size) %> <% if @xapian_requests.results.empty? %> <p><% _('There were no requests matching your query.') %></p> |