diff app/model/Messwert.js @ 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 3d3ad1f031bf
children 2794341bfc8a
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