[PATCH 2 of 2] index

Wald Commits scm-commit at wald.intevation.org
Tue Jul 3 11:30:08 CEST 2018


# HG changeset patch
# User gernotbelger
# Date 1530610198 -7200
# Node ID f7f226666c59eeff8a0362fd7f0fe1f1f8726b99
# Parent  53cc5b496692f3e0b20a5eb8ac1a8300b4f2e16d
index

diff -r 53cc5b496692 -r f7f226666c59 artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/common/FloodDurationProcessor.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/common/FloodDurationProcessor.java	Tue Jul 03 11:16:51 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/common/FloodDurationProcessor.java	Tue Jul 03 11:29:58 2018 +0200
@@ -66,7 +66,7 @@
             final int facetIndex, final int resultIndex, final int dataIndex) {
 
         final String description = Resources.getMsg(context.getMeta(), FACET_MAIN_VALUE_DURATION_DESCRIPTION, FACET_MAIN_VALUE_DURATION_DESCRIPTION,
-                result.getMainValueLabel(resultIndex));
+                result.getMainValueLabel(dataIndex));
 
         return new SInfoResultFacet(facetIndex, resultIndex, dataIndex, FACET_MAIN_VALUE_DURATION, description, I18N_AXIS_LABEL, ComputeType.ADVANCE, id, hash);
     }


More information about the Dive4Elements-commits mailing list