Mercurial > dive4elements > river
changeset 8243:0a994bbe645e
Suggestion: sort measurement stations along the river and only along the river.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Tue, 09 Sep 2014 12:03:46 +0200 |
parents | f8ea1a7ecde6 |
children | 0a03c1921cfe |
files | gwt-client/src/main/java/org/dive4elements/river/client/client/ui/stationinfo/MeasurementStationListGrid.java |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/stationinfo/MeasurementStationListGrid.java Tue Sep 09 11:13:37 2014 +0200 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/stationinfo/MeasurementStationListGrid.java Tue Sep 09 12:03:46 2014 +0200 @@ -81,12 +81,15 @@ private void addStation(MeasurementStation station, List<MeasurementStation> empty) { + /* switch off sorting stations without range to the end if (station.getKmStart() != null && station.getKmEnd() != null) { addStation(station); } else { empty.add(station); } + */ + addStation(station); } private void addStation(MeasurementStation station) {