# HG changeset patch # User Torsten Irländer # Date 1379939169 -7200 # Node ID e1af66012ef058f9fe44699fa3aa6fe54e560829 # Parent cf4b6e93f9568c0c191b3b1849c0873285fc1297 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. diff -r cf4b6e93f956 -r e1af66012ef0 app/controller/Sql.js --- 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