Mercurial > lada > lada-client
diff app/controller/Filter.js @ 1117:16cc342f1a68
Reverse result columns only if they have the wrong order.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 23 May 2016 11:38:55 +0200 |
parents | 566976d72ce5 |
children | 0b908138a740 |
line wrap: on
line diff
--- a/app/controller/Filter.js Thu May 19 14:56:43 2016 +0200 +++ b/app/controller/Filter.js Mon May 23 11:38:55 2016 +0200 @@ -111,7 +111,7 @@ contentPanel.removeAll(); //clear the panel: make space for new grids // Setup Columns - if (this.displayFields) { + if (this.displayFields && this.displayFields[0].index === 0) { this.displayFields.reverse(); }