changeset 253:424f18da3c64

Fixed variable name
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 24 Jul 2013 15:25:05 +0200
parents 1bce2d59b7e9
children c2effc4a497b
files app/controller/Sql.js
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/controller/Sql.js	Wed Jul 24 15:24:23 2013 +0200
+++ b/app/controller/Sql.js	Wed Jul 24 15:25:05 2013 +0200
@@ -36,8 +36,9 @@
         var sqlquery = Ext.getCmp('sqlquery');
         var sqldesc = Ext.getCmp('sqldesc');
         var buttons = Ext.getCmp('SearchBtnPanel');
-        var displayFields = record[0].data.fields;
+        var displayFields = record[0].data.results;
         var filterFields = record[0].data.filters;
+
         this.reset();
 
         sqlquery.setValue(record[0].data.sql);

http://lada.wald.intevation.org