changeset 2088:701658081f4f

Fix name for certain facets loaded via datacage. flys-artifacts/trunk@3610 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 06 Jan 2012 10:11:48 +0000
parents bda04ae1154f
children 0da8874bd378
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Fri Jan 06 09:38:58 2012 +0000
+++ b/flys-artifacts/ChangeLog	Fri Jan 06 10:11:48 2012 +0000
@@ -1,3 +1,11 @@
+2011-01-06	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	Partial fix for flys/issue437 (Querprofil: Zugeladene Basisdaten
+	ignorieren W/Q-heit, falsche Namen).
+
+	* src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
+	  Set name also for first column (zero based).
+
 2012-01-06  Ingo Weinzierl <ingo@intevation.de>
 
 	flys/issue196 (i18n/l10n: Zahlenformate einheitlich)
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java	Fri Jan 06 09:38:58 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java	Fri Jan 06 10:11:48 2012 +0000
@@ -103,7 +103,7 @@
                 addStringData("wst_id",  parts[3]);
 
                 String wkmsName;
-                if (col > 0) {
+                if (col >= 0) {
                     wkmsName = WKmsFactory.getWKmsName(col, wst);
                 }
                 else {

http://dive4elements.wald.intevation.org