mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Remove size limits.
Now use the system wide settings instead of hardcoded size limits.
This commit is contained in:
parent
d8b4e68221
commit
df97bce349
@ -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],
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user