diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2011-11-21 17:11:49 -0600 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-12-07 15:33:14 +0000 |
commit | fa32699dbf1c509125e6a39e22b89c58fd1d5078 (patch) | |
tree | 202b9e50f5ffb75bb4406275761d250f80aff6fb /install | |
parent | 9276e51bce438b0686deac827fce2ca60a5301e1 (diff) | |
download | freeipa-fa32699dbf1c509125e6a39e22b89c58fd1d5078.tar.gz freeipa-fa32699dbf1c509125e6a39e22b89c58fd1d5078.tar.xz freeipa-fa32699dbf1c509125e6a39e22b89c58fd1d5078.zip |
Fixed search filter in HBAC Test.
The search filter in HBAC Test has been fixed to work properly.
Ticket #388.
Diffstat (limited to 'install')
-rw-r--r-- | 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 715c0449c..b195c796b 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.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.name+'-filter'); var command = IPA.command({ name: that.get_search_command_name(), |