annotate app/store/Queries.js @ 243:331c77afdbcb

Configured fields for the two defined search queries.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 23 Jul 2013 11:45:10 +0200
parents 910cd477bfda
children 7097182150d9
rev   line source
240
910cd477bfda Added a comment with a list of currently available columns.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 235
diff changeset
1 /*
910cd477bfda Added a comment with a list of currently available columns.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 235
diff changeset
2 * The following fields are avalailable to show in the search result. Please
910cd477bfda Added a comment with a list of currently available columns.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 235
diff changeset
3 * Define which columns should be visible in whioch order in the fields
910cd477bfda Added a comment with a list of currently available columns.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 235
diff changeset
4 * variable for each query.
910cd477bfda Added a comment with a list of currently available columns.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 235
diff changeset
5 *
910cd477bfda Added a comment with a list of currently available columns.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 235
diff changeset
6 'datenbasisId'
910cd477bfda Added a comment with a list of currently available columns.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 235
diff changeset
7 'mplId'
910cd477bfda Added a comment with a list of currently available columns.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 235
diff changeset
8 'umwId'
910cd477bfda Added a comment with a list of currently available columns.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 235
diff changeset
9 'messmethode'
910cd477bfda Added a comment with a list of currently available columns.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 235
diff changeset
10 'hauptprobenNr'
910cd477bfda Added a comment with a list of currently available columns.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 235
diff changeset
11 'nebenprobenNr'
910cd477bfda Added a comment with a list of currently available columns.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 235
diff changeset
12 'bezeichnung'
910cd477bfda Added a comment with a list of currently available columns.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 235
diff changeset
13 'kreis'
910cd477bfda Added a comment with a list of currently available columns.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 235
diff changeset
14 'probeId'
910cd477bfda Added a comment with a list of currently available columns.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 235
diff changeset
15 'mstId'
910cd477bfda Added a comment with a list of currently available columns.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 235
diff changeset
16 */
910cd477bfda Added a comment with a list of currently available columns.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 235
diff changeset
17
235
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
18 Ext.define('Lada.store.Queries', {
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
19 extend: 'Ext.data.Store',
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
20 model: 'Lada.model.Query',
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
21 data : [
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
22 {
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
23 'id': '1',
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
24 'name': 'MST, UWB',
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
25 'description': 'Beschreibung der MST, UWB Abfrage',
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
26 'sql': 'select * from xxx',
243
331c77afdbcb Configured fields for the two defined search queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 240
diff changeset
27 'fields': ['datenbasisId', 'mplId', 'umwId', 'messmethode', 'hauptprobenNr', 'nebenprobenNr', 'bezeichnung', 'kreis', 'probeId', 'mstId']
235
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
28 },
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
29 {
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
30 'id': '2',
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
31 'name': 'Rbegin',
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
32 'description': 'Beschreibung der Rbegin Abfrage',
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
33 'sql': 'select * from xxx',
243
331c77afdbcb Configured fields for the two defined search queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 240
diff changeset
34 'fields': ['mplId', 'datenbasisId', 'umwId', 'messmethode', 'hauptprobenNr', 'nebenprobenNr', 'bezeichnung', 'kreis', 'probeId', 'mstId']
235
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
35 }
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
36 ],
78134e20e62d Added new model and store for Queries.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
37 });

http://lada.wald.intevation.org