diff options
-rw-r--r-- | app/views/request/select_authority.rhtml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/request/select_authority.rhtml b/app/views/request/select_authority.rhtml index bf616ad89..9692c4cb2 100644 --- a/app/views/request/select_authority.rhtml +++ b/app/views/request/select_authority.rhtml @@ -14,7 +14,7 @@ })); // We're using the existing body list: we intercept the clicks on the titles to // display a preview on the right hand side of the screen - $("#typeahead_response a").live('click', function() { + $("#typeahead_response .head a").live('click', function() { $("#authority_preview").load(this.href+" #public_body_show", function() { $("#authority_preview").show(); $("#authority_preview #header_right").hide(); @@ -56,6 +56,8 @@ <%= render :partial => 'public_body/body_listing_single', :locals => { :public_body => result[:model] } %> <% end %> </div> + <%= will_paginate WillPaginate::Collection.new(@page, 5, @xapian_requests.matches_estimated) %> + <% end %> |