Mercurial > lada > lada-client
changeset 413:e1af66012ef0 0.6
Reverse displayFields Array before configuring the columns of the result list.
Now the displayed columns are in the same order as defined in the query
configuration file.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Mon, 23 Sep 2013 14:26:09 +0200 |
parents | cf4b6e93f956 |
children | 5c037d30aaab |
files | app/controller/Sql.js |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/app/controller/Sql.js Thu Sep 19 15:56:23 2013 +0200 +++ b/app/controller/Sql.js Mon Sep 23 14:26:09 2013 +0200 @@ -66,6 +66,7 @@ sqldesc.setValue(record[0].data.description); // Setup Columns of the probenlist + displayFields.reverse(); result.setupColumns(displayFields); // Setup Filters of the probenlist