From c9f34235a0c249b8c99f895c0ffc50ccbfe20f99 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Tue, 3 Dec 2013 09:44:12 +0000 Subject: Raise limit on results to 1000. Seems like you have to specify a limit with xapian. We'll probably want to document the limit somewhere on this page. --- app/controllers/request_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/request_controller.rb') diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index e00483df8..a5f333128 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -45,7 +45,7 @@ class RequestController < ApplicationController def select_authorities if !params[:public_body_query].nil? - @search_bodies = perform_search_typeahead(params[:public_body_query], PublicBody) + @search_bodies = perform_search_typeahead(params[:public_body_query], PublicBody, 1000) end if !params[:public_body_ids].nil? if !params[:remove_public_body_ids].nil? -- cgit v1.2.3