summaryrefslogtreecommitdiffstats
path: root/install/ui/entity.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/entity.js')
-rw-r--r--install/ui/entity.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/install/ui/entity.js b/install/ui/entity.js
index acfc9c44..6b2be9e6 100644
--- a/install/ui/entity.js
+++ b/install/ui/entity.js
@@ -377,7 +377,7 @@ IPA.entity_builder = function() {
that.facet(spec);
- add_redirect_info();
+ add_redirect_info(spec.name);
return that;
};
@@ -487,8 +487,9 @@ IPA.entity_builder = function() {
}
function add_redirect_info(facet_name){
+ facet_name = facet_name || 'search';
if (!entity.redirect_facet){
- entity.redirect_facet = 'search';
+ entity.redirect_facet = facet_name;
}
}