[Lada-commits] [PATCH] Result column index can start with 0 or 1

Wald Commits scm-commit at wald.intevation.org
Mon Mar 20 14:50:10 CET 2017


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1490017775 -3600
# Branch release-2.5
# Node ID b2dbf3e3f3f795f585327c84ebe7d2311e56af6c
# Parent  7c0045bf1397af93cea7152eabc8b03d5fcc7102
Result column index can start with 0 or 1.

diff -r 7c0045bf1397 -r b2dbf3e3f3f7 app/controller/Filter.js
--- a/app/controller/Filter.js	Fri Mar 17 08:16:29 2017 +0100
+++ b/app/controller/Filter.js	Mon Mar 20 14:49:35 2017 +0100
@@ -119,7 +119,7 @@
         // Setup Columns
         if (this.displayFields &&
             this.displayFields.length > 0 &&
-            this.displayFields[0].index === 0) {
+            this.displayFields[0].index <= 1) {
             this.displayFields.reverse();
         }
 


More information about the Lada-commits mailing list