comparison app/controller/Filter.js @ 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 09d121acda6c
children
comparison
equal deleted inserted replaced
1401:7c0045bf1397 1402:b2dbf3e3f3f7
117 contentPanel.removeAll(); //clear the panel: make space for new grids 117 contentPanel.removeAll(); //clear the panel: make space for new grids
118 118
119 // Setup Columns 119 // Setup Columns
120 if (this.displayFields && 120 if (this.displayFields &&
121 this.displayFields.length > 0 && 121 this.displayFields.length > 0 &&
122 this.displayFields[0].index === 0) { 122 this.displayFields[0].index <= 1) {
123 this.displayFields.reverse(); 123 this.displayFields.reverse();
124 } 124 }
125 125
126 if (queryType == 'probe' || 126 if (queryType == 'probe' ||
127 queryType == 'messung' || 127 queryType == 'messung' ||

http://lada.wald.intevation.org