Remove size limits.

Now use the system wide settings instead of hardcoded size limits.
This commit is contained in:
Adam Young 2010-10-19 16:54:46 -04:00 committed by Endi Sukma Dewata
parent d8b4e68221
commit df97bce349
2 changed files with 2 additions and 4 deletions

View File

@ -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],

View File

@ -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);