Nested search facets were using 'search' tab label instead of their nested entity name.

This patch is fixing that regression.

https://fedorahosted.org/freeipa/ticket/2744
--
Petr Vobornik
From d7ad53abc3f70da1408fb3421daa488bcab5dfcc Mon Sep 17 00:00:00 2001
From: Petr Vobornik <pvobo...@redhat.com>
Date: Thu, 10 May 2012 12:25:08 +0200
Subject: [PATCH] Correction of nested search facets tab labels

Nested search facets were using 'search' tab label instead of their nested entity name.

This patch is fixing that regression.

https://fedorahosted.org/freeipa/ticket/2744
---
 install/ui/automount.js |    2 ++
 install/ui/dns.js       |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/install/ui/automount.js b/install/ui/automount.js
index db5e403cac5168687e7ca644b6f17a1daed2a598..5a4d5978f6e5215a3d9d7e25ab983f4c4bc30f36 100644
--- a/install/ui/automount.js
+++ b/install/ui/automount.js
@@ -41,6 +41,7 @@ IPA.automount.location_entity = function(spec) {
             facet_group: 'automountmap',
             nested_entity: 'automountmap',
             label: IPA.metadata.objects.automountmap.label,
+            tab_label: IPA.metadata.objects.automountmap.label,
             name: 'maps',
             columns: [ 'automountmapname' ]
         }).
@@ -76,6 +77,7 @@ IPA.automount.map_entity = function(spec) {
             nested_entity: 'automountkey',
             search_all_entries: true,
             label: IPA.metadata.objects.automountkey.label,
+            tab_label: IPA.metadata.objects.automountkey.label,
             name: 'keys',
             columns: [
                 {
diff --git a/install/ui/dns.js b/install/ui/dns.js
index 0d7f03f20c0cf6a217a3fa3717bdd2f9bbefc1c9..c187bfe029d88b529c69756053c0b7af396efb2b 100644
--- a/install/ui/dns.js
+++ b/install/ui/dns.js
@@ -208,6 +208,7 @@ IPA.dns.zone_entity = function(spec) {
             deleter_dialog: IPA.dns.record_search_deleter_dialog,
             title: IPA.metadata.objects.dnszone.label_singular,
             label: IPA.metadata.objects.dnsrecord.label,
+            tab_label: IPA.metadata.objects.dnsrecord.label,
             columns: [
                 {
                     name: 'idnsname',
-- 
1.7.7.6

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to