# HG changeset patch # User Andre Heinecke # Date 1374162836 -7200 # Node ID 8d88db1f5d36dfee254a7ac6dc237f85ea9176d9 # Parent 6d55614d6f87d2e27c05e3d9964136a3600aab0a Add quick hack to fix the exported name of Amtl.Fixierungen diff -r 6d55614d6f87 -r 8d88db1f5d36 artifacts/src/main/java/org/dive4elements/river/exports/WaterlevelExporter.java --- a/artifacts/src/main/java/org/dive4elements/river/exports/WaterlevelExporter.java Thu Jul 18 17:53:11 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/exports/WaterlevelExporter.java Thu Jul 18 17:53:56 2013 +0200 @@ -641,6 +641,12 @@ } } } + if (colDesc != null) { + /* Quick hack. Can be removed when database strings are + * adapted or left in here as it should never be harmful. */ + colDesc = colDesc.replace("Amtl.Festlegung_", "Amtl. "); + } + return colDesc == null ? "" : colDesc; }