The search filter in HBAC Test has been fixed to work properly.
Ticket #388 -- Endi S. Dewata
From ff467b415a362b763297ee99d4dfb963df823093 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata <edew...@redhat.com> Date: Mon, 21 Nov 2011 17:11:49 -0600 Subject: [PATCH] Fixed search filter in HBAC Test. The search filter in HBAC Test has been fixed to work properly. Ticket #388 --- install/ui/hbactest.js | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/install/ui/hbactest.js b/install/ui/hbactest.js index cf23e8eaacb9e85c04e733a262d65a720122f496..6b0461b701fa3214d35c9940755a544084995354 100644 --- a/install/ui/hbactest.js +++ b/install/ui/hbactest.js @@ -236,6 +236,13 @@ IPA.hbac.test_facet = function(spec) { }).appendTo(buttons); }; + that.find = function() { + var filter = that.filter.val(); + var state = {}; + state[that.entity.name+'-'+that.managed_entity.name+'-filter'] = filter; + IPA.nav.push_state(state); + }; + that.back = function() { var facet_group = that.entity.get_facet_group('default'); var index = facet_group.get_facet_index(that.name); @@ -278,7 +285,7 @@ IPA.hbac.test_facet = function(spec) { that.refresh = function() { - var filter = IPA.nav.get_state(that.managed_entity.name+'-filter'); + var filter = IPA.nav.get_state(that.entity.name+'-'+that.managed_entity.name+'-filter'); var command = IPA.command({ name: that.get_search_command_name(), -- 1.7.5.1
_______________________________________________ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel