mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fixed search in HBAC test
Search in HBAC test wasn't working because expired flag wasn't set. https://fedorahosted.org/freeipa/ticket/2931
This commit is contained in:
@@ -374,10 +374,19 @@ IPA.hbac.test_select_facet = function(spec) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
that.find = function() {
|
that.find = function() {
|
||||||
|
|
||||||
|
var old_filter = IPA.nav.get_state(that.entity.name+'-'+that.name+'-filter');
|
||||||
var filter = that.filter.val();
|
var filter = that.filter.val();
|
||||||
|
|
||||||
|
that.set_expired_flag();
|
||||||
|
|
||||||
|
if (old_filter === filter) {
|
||||||
|
that.refresh();
|
||||||
|
} else {
|
||||||
var state = {};
|
var state = {};
|
||||||
state[that.entity.name+'-'+that.name+'-filter'] = filter;
|
state[that.entity.name+'-'+that.name+'-filter'] = filter;
|
||||||
IPA.nav.push_state(state);
|
IPA.nav.push_state(state);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
that.get_selected_values = function() {
|
that.get_selected_values = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user