diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-07-18 16:17:40 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-07-23 13:14:02 +0200 |
commit | 881290b0109aa1f52a34d31505b9ebf73b991a00 (patch) | |
tree | 24d9eb886a3f2d80311b913c06456d6c34a24cd0 /install/ui/src/freeipa/search.js | |
parent | b7f10d9fe677e16bf669c8af2aeee2c0af86f14d (diff) | |
download | freeipa-881290b0109aa1f52a34d31505b9ebf73b991a00.tar.gz freeipa-881290b0109aa1f52a34d31505b9ebf73b991a00.tar.xz freeipa-881290b0109aa1f52a34d31505b9ebf73b991a00.zip |
Web UI search optimization
This patch optimizes options used in commands executed by search pages.
1) Removed --all from _find and _show commands used by search pages. All displayed attributes should be already included in default attributes.
2) Removed search_all_attributes - Not needed since introduction of paging.
3) Added --no-members options to search _show commmands. Members are not displayed on search pages and such change drastically improves performance. It reduces computations on server and amount of data transferred to Web UI.
https://fedorahosted.org/freeipa/ticket/3706
Diffstat (limited to 'install/ui/src/freeipa/search.js')
-rw-r--r-- | install/ui/src/freeipa/search.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/install/ui/src/freeipa/search.js b/install/ui/src/freeipa/search.js index 03ec0b12a..c2e678a35 100644 --- a/install/ui/src/freeipa/search.js +++ b/install/ui/src/freeipa/search.js @@ -239,10 +239,7 @@ IPA.search_facet = function(spec, no_init) { name: that.get_search_command_name(), entity: that.managed_entity.name, method: 'find', - args: args, - options: { - all: that.search_all_attributes - } + args: args }); if (that.pagination) { |