From 34c5d996d760abeaede782253931ed7bc36320cc Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 1 Jun 2011 13:52:38 -0500 Subject: Temporary fix for indirect member tabs. Since the group-show command doesn't return indirect members, the tabs for group's indirect members have been reverted to call user-find with the --in-groups parameter to get the entries. However, this is only a temporary solution since the user-find command returns both direct and indirect members (ticket #1273). The Selenium test for groups has been modified to test nested groups and verify indirect members. The verification currently will fail due to the above issue. --- install/ui/search.js | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'install/ui/search.js') diff --git a/install/ui/search.js b/install/ui/search.js index b8fa2601..33eb8c93 100644 --- a/install/ui/search.js +++ b/install/ui/search.js @@ -298,26 +298,18 @@ IPA.search_facet = function(spec) { that.table.add_record(record); } - var summary = $('span[name=summary]', that.table.tfoot); if (data.result.truncated) { var message = IPA.messages.search.truncated; message = message.replace('${counter}', data.result.count); - summary.text(message); + that.table.summary.text(message); } else { - summary.text(data.result.summary); + that.table.summary.text(data.result.summary); } that.filter.focus(); that.select_changed(); } - function on_error(xhr, text_status, error_thrown) { - var summary = $('span[name=summary]', that.table.tfoot).empty(); - summary.append('

Error: '+error_thrown.name+'

'); - summary.append('

'+error_thrown.message+'

'); - } - - var filter = []; var current_entity = entity; filter.unshift($.bbq.getState(current_entity.name+'-filter')); @@ -336,7 +328,7 @@ IPA.search_facet = function(spec) { all: that.search_all }, on_success: on_success, - on_error: on_error + on_error: that.on_error }); command.execute(); -- cgit