annotate app/store/Datenbasis.js @ 1159:85acec6c6e6a

Use equal fieldnames as in model for StatusWerte. This will enable us to use a model based store here too.
author Tom Gottfried <tom@intevation.de>
date Wed, 08 Jun 2016 12:37:53 +0200
parents 8e3bc9d2ec40
children
rev   line source
548
d47ee7439f44 Added new js files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
d47ee7439f44 Added new js files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
2 * Software engineering by Intevation GmbH
d47ee7439f44 Added new js files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
3 *
d47ee7439f44 Added new js files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
4 * This file is Free Software under the GNU GPL (v>=3)
d47ee7439f44 Added new js files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
d47ee7439f44 Added new js files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
6 * the documentation coming with IMIS-Labordaten-Application for details.
d47ee7439f44 Added new js files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
7 */
d47ee7439f44 Added new js files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
8
d47ee7439f44 Added new js files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
9 /**
d47ee7439f44 Added new js files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
10 * Store for Datenbasis
d47ee7439f44 Added new js files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
11 */
d47ee7439f44 Added new js files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
12 Ext.define('Lada.store.Datenbasis', {
d47ee7439f44 Added new js files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
13 extend: 'Ext.data.Store',
d47ee7439f44 Added new js files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
14 model: 'Lada.model.Datenbasis',
873
8e3bc9d2ec40 Applied Patch which was presented in the Workshop: Sort Datenbasis differently
Dustin Demuth <dustin@intevation.de>
parents: 548
diff changeset
15 sorters: [
8e3bc9d2ec40 Applied Patch which was presented in the Workshop: Sort Datenbasis differently
Dustin Demuth <dustin@intevation.de>
parents: 548
diff changeset
16 {
8e3bc9d2ec40 Applied Patch which was presented in the Workshop: Sort Datenbasis differently
Dustin Demuth <dustin@intevation.de>
parents: 548
diff changeset
17 property: 'id',
8e3bc9d2ec40 Applied Patch which was presented in the Workshop: Sort Datenbasis differently
Dustin Demuth <dustin@intevation.de>
parents: 548
diff changeset
18 direction: 'ASC'
548
d47ee7439f44 Added new js files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
19 }],
873
8e3bc9d2ec40 Applied Patch which was presented in the Workshop: Sort Datenbasis differently
Dustin Demuth <dustin@intevation.de>
parents: 548
diff changeset
20 autoLoad: true,
8e3bc9d2ec40 Applied Patch which was presented in the Workshop: Sort Datenbasis differently
Dustin Demuth <dustin@intevation.de>
parents: 548
diff changeset
21 sortOnLoad: true
548
d47ee7439f44 Added new js files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
22 });

http://lada.wald.intevation.org