Mercurial > gemma
changeset 5242:98ad96446d37 new-fwa
Switched availability and fairway depths modes.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 12 May 2020 17:20:32 +0200 |
parents | 5e235be9cf6e |
children | 0ab809236eb5 |
files | pkg/controllers/fwa.go |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/controllers/fwa.go Tue May 12 16:59:18 2020 +0200 +++ b/pkg/controllers/fwa.go Tue May 12 17:20:32 2020 +0200 @@ -278,7 +278,7 @@ availability := vars["type"] == "availability" var record []string - if availability { + if !availability { // in days record = makeHeader(useDepth && useWidth, 1, breaks, 'd') } else { @@ -374,7 +374,7 @@ if finish(next) { record[0] = label(current) - if availability { + if !availability { record[1] = strconv.Itoa(totalDays - overLDCDays) record[2] = strconv.Itoa(overLDCDays) for i, c := range counters {