diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-06-01 13:52:38 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-06-02 20:09:07 -0400 |
commit | 34c5d996d760abeaede782253931ed7bc36320cc (patch) | |
tree | 27d4556fbafab47fb40f0f893d28f784d7cf6410 /install/ui/search.js | |
parent | 7486a332211ed13318c0a689657cb4ff7e7d25a3 (diff) | |
download | freeipa-34c5d996d760abeaede782253931ed7bc36320cc.tar.gz freeipa-34c5d996d760abeaede782253931ed7bc36320cc.tar.xz freeipa-34c5d996d760abeaede782253931ed7bc36320cc.zip |
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.
Diffstat (limited to 'install/ui/search.js')
-rw-r--r-- | install/ui/search.js | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/install/ui/search.js b/install/ui/search.js index b8fa26017..33eb8c93c 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('<p>Error: '+error_thrown.name+'</p>'); - summary.append('<p>'+error_thrown.message+'</p>'); - } - - 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(); |