From 7c0c39581c567c2c5bd92f9396b6fd99a2b8a6f8 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Tue, 17 Jan 2012 15:50:49 -0600 Subject: Enabled paging on automount keys. The automount keys search facet has been modified to support paging. Since the automountkey-find command doesn't support --pkey-only option, the facet is configured such that during a refresh operation it will retrieve all entries (including the key and info attributes) and then display only the ones that are supposed to be visible in the current page. Ticket #2093 --- install/ui/search.js | 35 ++++++++++++++++------------------- 1 file changed, 16 insertions(+), 19 deletions(-) (limited to 'install/ui/search.js') diff --git a/install/ui/search.js b/install/ui/search.js index f82bf0d1..a7074e22 100644 --- a/install/ui/search.js +++ b/install/ui/search.js @@ -156,26 +156,15 @@ IPA.search_facet = function(spec) { IPA.nav.push_state(state); }; - that.get_pkeys = function(data) { - var result = data.result.result; - var pkey_name = that.managed_entity.metadata.primary_key; - var pkeys = []; - for (var i=0; i