diff app/view/orte/List.js @ 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 9c44ce52a33c
children 29e325b91f47
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