raimund@548: /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
raimund@548:  * Software engineering by Intevation GmbH
raimund@548:  *
raimund@548:  * This file is Free Software under the GNU GPL (v>=3)
raimund@548:  * and comes with ABSOLUTELY NO WARRANTY! Check out
raimund@548:  * the documentation coming with IMIS-Labordaten-Application for details.
raimund@548:  */
raimund@548: 
raimund@548: /**
raimund@548:  * Store for Messstellen
raimund@548:  */
raimund@548: Ext.define('Lada.store.Messstellen', {
raimund@548:     extend: 'Ext.data.Store',
raimund@548:     model: 'Lada.model.Messstelle',
raimund@548:     sorters: [{
raimund@548:         property: 'messStelle',
raimund@548:         transform: function(val) {
raimund@548:             if (val) {
raimund@548:                 return val.toLowerCase();
raimund@548:             }
raimund@548:             return '';
raimund@548:         }
raimund@548:     }],
raimund@548:     autoLoad: true
raimund@548: });