[Lada-commits] [PATCH 10 of 11] Fixed variable name

Wald Commits scm-commit at wald.intevation.org
Wed Jul 24 15:28:06 CEST 2013


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1374672305 -7200
# Node ID 424f18da3c648c8e4a52f74e4eb07ab02de31406
# Parent  1bce2d59b7e9d04813cdf2431d6bca823584ac53
Fixed variable name

diff -r 1bce2d59b7e9 -r 424f18da3c64 app/controller/Sql.js
--- 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);


More information about the Lada-commits mailing list