mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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.
This commit is contained in:
committed by
Adam Young
parent
7486a33221
commit
34c5d996d7
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user