From 3c2a8b408ec1af284af0ebe218832f3fab85c008 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Mon, 27 Apr 2015 14:23:16 +0200 Subject: webui: custom facet groups in a facet Facets use to inherit facet groups from entity. There was no option to define cross-entity facet groups for different facets which belong one entity. In other words it was not possible to have 'user search' and 'stage user search' tab in one facet group. Reviewed-By: David Kupka Reviewed-By: Thierry Bordaz --- install/ui/src/freeipa/entity.js | 13 ++++++++++--- install/ui/src/freeipa/facet.js | 32 +++++++++++++++++++++++++++++--- 2 files changed, 39 insertions(+), 6 deletions(-) (limited to 'install/ui') diff --git a/install/ui/src/freeipa/entity.js b/install/ui/src/freeipa/entity.js index 1b9cae7b7..61698e859 100644 --- a/install/ui/src/freeipa/entity.js +++ b/install/ui/src/freeipa/entity.js @@ -323,7 +323,7 @@ exp.entity = IPA.entity = function(spec) { */ that.get_facet = function(name) { - var i, l, facets; + var i, l, facets, facet; //build all facets on the first time if(!that.facets_created) { @@ -331,7 +331,7 @@ exp.entity = IPA.entity = function(spec) { var facet_specs = that.facet_specs; for (i=0,l=facet_specs.length; i