From df97bce34904e2b135a4b98d5cd5d59c2bb6b9ac Mon Sep 17 00:00:00 2001 From: Adam Young Date: Tue, 19 Oct 2010 16:54:46 -0400 Subject: [PATCH] Remove size limits. Now use the system wide settings instead of hardcoded size limits. --- install/static/ipa.js | 2 -- install/static/search.js | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/install/static/ipa.js b/install/static/ipa.js index b436ba9fc..74fde9299 100644 --- a/install/static/ipa.js +++ b/install/static/ipa.js @@ -24,7 +24,6 @@ var IPA_DEFAULT_JSON_URL = '/ipa/json'; var ipa_json_url; var ipa_use_static_files; -var ipa_record_limit=100; var ipa_ajax_options = { type: 'POST', @@ -138,7 +137,6 @@ function ipa_cmd(name, args, options, win_callback, fail_callback, objname) if (ipa_use_static_files) url += '/' + method_name + '.json'; - options.sizelimit=ipa_record_limit; var data = { method: method_name, params: [args, options], diff --git a/install/static/search.js b/install/static/search.js index 91ee1bd8e..e4efcb0ef 100644 --- a/install/static/search.js +++ b/install/static/search.js @@ -279,8 +279,8 @@ function search_display(obj_name, data) if (data.result.truncated) { tfoot.text( - 'More than ' + ipa_record_limit + ' results returned. ' + - 'First ' + ipa_record_limit + ' results shown.' + 'Query returned results than configured size limit will show.' + + 'First ' + data.result.count + ' results shown.' ); } else { tfoot.text(data.result.summary);