[Lada-commits] [PATCH 04 of 11] Removed data from store. queries are now loaded from the server
Wald Commits
scm-commit at wald.intevation.org
Wed Jul 24 15:28:00 CEST 2013
# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1374670304 -7200
# Node ID fa108c53da5aa82c06b3d20570997d38be214c41
# Parent c5d7fae5997aabdba724dddb4cb826b8c9c4dcc3
Removed data from store. queries are now loaded from the server.
diff -r c5d7fae5997a -r fa108c53da5a app/store/Queries.js
--- a/app/store/Queries.js Tue Jul 23 14:18:11 2013 +0200
+++ b/app/store/Queries.js Wed Jul 24 14:51:44 2013 +0200
@@ -1,43 +1,4 @@
-/*
- * The following fields are avalailable to show in the search result. Please
- * Define which columns should be visible in whioch order in the fields
- * variable for each query.
- *
-'datenbasisId'
-'mplId'
-'umwId'
-'messmethode'
-'hauptprobenNr'
-'nebenprobenNr'
-'bezeichnung'
-'kreis'
-'probeId'
-'mstId'
-*/
-
Ext.define('Lada.store.Queries', {
extend: 'Ext.data.Store',
model: 'Lada.model.Query',
- data : [
- {
- 'id': '1',
- 'name': 'MST, UWB',
- 'description': 'Beschreibung der MST, UWB Abfrage',
- 'sql': 'select * from xxx',
- /* List of fields which should be displayed in the proben list.
- * The field names must match the fieldnames in returned JSON object. */
- 'fields': ['datenbasisId', 'mplId', 'umwId', 'messmethode', 'hauptprobenNr', 'nebenprobenNr', 'bezeichnung', 'kreis', 'probeId', 'mstId'],
- /* List of filters. The filters must match the fields in the
- * "WHERE" part of the defined SQL query. */
- 'filters': ['mstId', 'umwId'],
- },
- {
- 'id': '2',
- 'name': 'Rbegin',
- 'description': 'Beschreibung der Rbegin Abfrage',
- 'sql': 'select * from xxx',
- 'fields': ['mplId', 'datenbasisId', 'umwId', 'messmethode', 'hauptprobenNr', 'nebenprobenNr', 'bezeichnung', 'kreis', 'probeId', 'mstId'],
- 'filters': [],
- }
- ],
});
More information about the Lada-commits
mailing list