diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-03-19 15:49:20 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-03-19 15:49:20 +1100 |
commit | 3fee3ca38f1a508fa7ee831c5df6cc9b6c7aa82d (patch) | |
tree | 9b30c708b0fcee7d237c6417c78622a367558146 | |
parent | 8132738c60f23d5608837d48aa0f8b3b38bc1bd1 (diff) |
Make search ahead pagination link to the right place. Fixes #860
-rw-r--r-- | app/views/public_body/_search_ahead.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/public_body/_search_ahead.html.erb b/app/views/public_body/_search_ahead.html.erb index 7ade89b8e..b1af2464d 100644 --- a/app/views/public_body/_search_ahead.html.erb +++ b/app/views/public_body/_search_ahead.html.erb @@ -13,7 +13,7 @@ <%= render :partial => 'body_listing_single', :locals => { :public_body => result[:model] } %> <% end %> </div> - <%= will_paginate WillPaginate::Collection.new(@page, @per_page, @xapian_requests.matches_estimated) %> + <%= will_paginate WillPaginate::Collection.new(@page, @per_page, @xapian_requests.matches_estimated), :params => {:controller=>"request", :action => "select_authority"} %> <% end %> </div> |