comparison app/model/Ort.js @ 1309:1bcc3a62e909

insert and preset OrtId field on Orterstellung
author Maximilian Krambach <mkrambach@intevation.de>
date Thu, 02 Feb 2017 16:59:25 +0100
parents bfdc00c24baf
children 1a2cd9bef6d7
comparison
equal deleted inserted replaced
1308:6075731bc4f1 1309:1bcc3a62e909
15 fields: [{ 15 fields: [{
16 name: 'id' 16 name: 'id'
17 }, { 17 }, {
18 name: 'aktiv' 18 name: 'aktiv'
19 }, { 19 }, {
20 name: 'ortId' 20 name: 'ortId',
21 convert: function(v) {
22 if (v === '') {
23 return null;
24 }
25 return v;
26 }
21 }, { 27 }, {
22 name: 'nutsCode' 28 name: 'nutsCode'
23 }, { 29 }, {
24 name: 'anlageId' 30 name: 'anlageId'
25 }, { 31 }, {

http://lada.wald.intevation.org