diff options
author | Adam Young <ayoung@redhat.com> | 2010-10-19 16:54:46 -0400 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2010-10-19 21:46:31 -0400 |
commit | df97bce34904e2b135a4b98d5cd5d59c2bb6b9ac (patch) | |
tree | f48eebb15b030d8db722b2ec30becd6d717141b3 | |
parent | d8b4e68221f32fa95c149fc125850f042a38e537 (diff) | |
download | freeipa-df97bce34904e2b135a4b98d5cd5d59c2bb6b9ac.tar.gz freeipa-df97bce34904e2b135a4b98d5cd5d59c2bb6b9ac.tar.xz freeipa-df97bce34904e2b135a4b98d5cd5d59c2bb6b9ac.zip |
Remove size limits.
Now use the system wide settings instead of hardcoded size limits.
-rw-r--r-- | install/static/ipa.js | 2 | ||||
-rw-r--r-- | 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); |