annotate app/store/ProbeQueries.js @ 1117:16cc342f1a68

Reverse result columns only if they have the wrong order.
author Raimund Renkert <raimund.renkert@intevation.de>
date Mon, 23 May 2016 11:38:55 +0200
parents af9879d72310
children
rev   line source
748
344330d3d1cd Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
344330d3d1cd Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
2 * Software engineering by Intevation GmbH
344330d3d1cd Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
3 *
344330d3d1cd Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
4 * This file is Free Software under the GNU GPL (v>=3)
344330d3d1cd Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
344330d3d1cd Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
6 * the documentation coming with IMIS-Labordaten-Application for details.
344330d3d1cd Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
7 */
344330d3d1cd Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
8
344330d3d1cd Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
9 /**
344330d3d1cd Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
10 * Store for Queries
344330d3d1cd Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
11 */
344330d3d1cd Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
12 Ext.define('Lada.store.ProbeQueries', {
344330d3d1cd Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
13 extend: 'Ext.data.Store',
344330d3d1cd Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
14 model: 'Lada.model.Query',
1015
af9879d72310 Updated UI, added window for filter management and added fieldset for query
Raimund Renkert <raimund.renkert@intevation.de>
parents: 999
diff changeset
15 // autoLoad: true,
751
704bb359c0fe dynamically exchange the store of the resultfiltergrid
Dustin Demuth <dustin@intevation.de>
parents: 748
diff changeset
16 proxy: {
704bb359c0fe dynamically exchange the store of the resultfiltergrid
Dustin Demuth <dustin@intevation.de>
parents: 748
diff changeset
17 type: 'rest',
999
f73ca04d73a7 Refactored Server URL
Dustin Demuth <dustin@intevation.de>
parents: 751
diff changeset
18 url: 'lada-server/rest/query/probe',
751
704bb359c0fe dynamically exchange the store of the resultfiltergrid
Dustin Demuth <dustin@intevation.de>
parents: 748
diff changeset
19 reader: {
704bb359c0fe dynamically exchange the store of the resultfiltergrid
Dustin Demuth <dustin@intevation.de>
parents: 748
diff changeset
20 type: 'json',
704bb359c0fe dynamically exchange the store of the resultfiltergrid
Dustin Demuth <dustin@intevation.de>
parents: 748
diff changeset
21 root: 'data'
704bb359c0fe dynamically exchange the store of the resultfiltergrid
Dustin Demuth <dustin@intevation.de>
parents: 748
diff changeset
22 }
704bb359c0fe dynamically exchange the store of the resultfiltergrid
Dustin Demuth <dustin@intevation.de>
parents: 748
diff changeset
23 }
748
344330d3d1cd Added new stores for messprogramm and Probe queries.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
24 });

http://lada.wald.intevation.org