changeset 105:7ad96e3d70c1

Added gemId and staatId
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 18 Jun 2013 13:21:57 +0200 (2013-06-18)
parents e9643b7c103c
children b91d5376db19
files app/model/Ort.js app/view/orte/List.js
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/app/model/Ort.js	Tue Jun 18 12:40:11 2013 +0200
+++ b/app/model/Ort.js	Tue Jun 18 13:21:57 2013 +0200
@@ -6,6 +6,8 @@
         {name: "otyp", mapping:"ort.otyp"},
         {name: "bezeichnung", mapping:"ort.bezeichnung"},
         {name: "beschreibung", mapping:"ort.beschreibung"},
+        {name: "gemId", mapping:"ort.gemId"},
+        {name: "staatId", mapping:"ort.staatId"},
         {name: "unscharf", mapping:"ort.unscharf"},
         {name: "nutsCode", mapping:"ort.nutsCode"},
         {name: "koordXExtern", mapping:"ort.koordXExtern"},
--- a/app/view/orte/List.js	Tue Jun 18 12:40:11 2013 +0200
+++ b/app/view/orte/List.js	Tue Jun 18 13:21:57 2013 +0200
@@ -32,8 +32,8 @@
         this.columns = [
             {header: 'Typ', dataIndex: 'otyp'},
             {header: 'ID', dataIndex: 'ortId'},
-            {header: 'Staat', dataIndex: ''},
-            {header: 'Gem-ID', dataIndex: ''},
+            {header: 'Staat', dataIndex: 'staatId'},
+            {header: 'Gem-ID', dataIndex: 'gemId'},
             {header: 'Gemeindebezeichnung', dataIndex: 'bezeichnung', flex: 1},
             {header: 'Messpunkt', dataIndex: ''}
         ];

http://lada.wald.intevation.org