changeset 456:683b8a3010cc

Show ortsType of Ort, and not otyp of ortedetail in orte listing.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 18 Dec 2013 11:04:50 +0100
parents 7e73478780fe
children e7fea42c1432
files app/view/orte/List.js
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/orte/List.js	Mon Dec 16 14:53:41 2013 +0100
+++ b/app/view/orte/List.js	Wed Dec 18 11:04:50 2013 +0100
@@ -37,12 +37,7 @@
         this.columns = [
             {
                 header: 'Typ',
-                dataIndex: 'ortId',
-                renderer: function(value) {
-                    var store = Ext.getStore('Ortedetails');
-                    var record = store.getById(value);
-                    return record.get('otyp');
-                }
+                dataIndex: 'ortsTyp'
             },
             {
                 header: 'Staat',

http://lada.wald.intevation.org