From 36f350cc018e7453cb84f3fafeb6227429fb55af Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 25 May 2016 10:24:51 +0200 Subject: [PATCH] wcs-olap: lowercase most dimension labels --- wcs_olap/feeder.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wcs_olap/feeder.py b/wcs_olap/feeder.py index 5eb05d2..ff26c2d 100644 --- a/wcs_olap/feeder.py +++ b/wcs_olap/feeder.py @@ -197,7 +197,7 @@ class WcsOlapFeeder(object): }, { 'name': 'percent', - 'label': 'Pourcentage des demandes', + 'label': 'pourcentage des demandes', 'type': 'percent', "expression": 'count({fact_table}.id) * 100. ' '/ (select count({fact_table}.id) from {table_expression} ' @@ -564,7 +564,7 @@ class WcsFormdefFeeder(object): }) cube['dimensions'].append({ 'name': at, - 'label': u'fonction %s' % name, + 'label': u'fonction %s' % name.lower(), 'join': [at], 'type': 'integer', 'value': '%s.id' % at, @@ -587,7 +587,7 @@ class WcsFormdefFeeder(object): }) cube['dimensions'].append({ 'name': field.varname, - 'label': field.label, + 'label': field.label.lower(), 'join': [field.varname], 'type': 'integer', 'value': '%s.id' % field.varname,