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
This commit is contained in:
Petr Vobornik 2012-05-10 12:25:08 +02:00
parent 77f2f87fe5
commit 02b942a72e
2 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,7 @@ IPA.automount.location_entity = function(spec) {
facet_group: 'automountmap', facet_group: 'automountmap',
nested_entity: 'automountmap', nested_entity: 'automountmap',
label: IPA.metadata.objects.automountmap.label, label: IPA.metadata.objects.automountmap.label,
tab_label: IPA.metadata.objects.automountmap.label,
name: 'maps', name: 'maps',
columns: [ 'automountmapname' ] columns: [ 'automountmapname' ]
}). }).
@ -76,6 +77,7 @@ IPA.automount.map_entity = function(spec) {
nested_entity: 'automountkey', nested_entity: 'automountkey',
search_all_entries: true, search_all_entries: true,
label: IPA.metadata.objects.automountkey.label, label: IPA.metadata.objects.automountkey.label,
tab_label: IPA.metadata.objects.automountkey.label,
name: 'keys', name: 'keys',
columns: [ columns: [
{ {

View File

@ -246,6 +246,7 @@ IPA.dns.zone_entity = function(spec) {
deleter_dialog: IPA.dns.record_search_deleter_dialog, deleter_dialog: IPA.dns.record_search_deleter_dialog,
title: IPA.metadata.objects.dnszone.label_singular, title: IPA.metadata.objects.dnszone.label_singular,
label: IPA.metadata.objects.dnsrecord.label, label: IPA.metadata.objects.dnsrecord.label,
tab_label: IPA.metadata.objects.dnsrecord.label,
columns: [ columns: [
{ {
name: 'idnsname', name: 'idnsname',