changeset 1402:b2dbf3e3f3f7 release-2.5

Result column index can start with 0 or 1.
author Raimund Renkert <raimund.renkert@intevation.de>
date Mon, 20 Mar 2017 14:49:35 +0100
parents 7c0045bf1397
children 9712170c5150
files app/controller/Filter.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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();
         }
 

http://lada.wald.intevation.org