changeset 223:53e50427888b

Set Id to Messgroesse. In a store of messwerte the messgroesse is the unique field.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 16 Jul 2013 11:36:38 +0200
parents bd9ee11c74b4
children 5e056c5edf9a
files app/model/Messwert.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/model/Messwert.js	Tue Jul 16 11:04:59 2013 +0200
+++ b/app/model/Messwert.js	Tue Jul 16 11:36:38 2013 +0200
@@ -12,7 +12,7 @@
         {name: "grenzwertueberschreitung", type: "boolean"},
         {name: "letzteAenderung", type:"date"}
     ],
-    idProperty: "id",
+    idProperty: "messgroesseId",
     proxy: {
         type: 'rest',
         appendId: true, //default

http://lada.wald.intevation.org