comparison 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
comparison
equal deleted inserted replaced
455:7e73478780fe 456:683b8a3010cc
35 } 35 }
36 ]; 36 ];
37 this.columns = [ 37 this.columns = [
38 { 38 {
39 header: 'Typ', 39 header: 'Typ',
40 dataIndex: 'ortId', 40 dataIndex: 'ortsTyp'
41 renderer: function(value) {
42 var store = Ext.getStore('Ortedetails');
43 var record = store.getById(value);
44 return record.get('otyp');
45 }
46 }, 41 },
47 { 42 {
48 header: 'Staat', 43 header: 'Staat',
49 dataIndex: 'ortId', 44 dataIndex: 'ortId',
50 renderer: function(value) { 45 renderer: function(value) {

http://lada.wald.intevation.org