[Lada-commits] [PATCH 2 of 3] Set Id to Messgroesse. In a store of messwerte the messgroesse is the unique
Wald Commits
scm-commit at wald.intevation.org
Tue Jul 16 13:57:44 CEST 2013
# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1373967398 -7200
# Node ID 53e50427888beacee818b84ef10f04f2c0e71be6
# Parent bd9ee11c74b47f6c7ddfb94a014aaef4e6f02d18
Set Id to Messgroesse. In a store of messwerte the messgroesse is the unique
field.
diff -r bd9ee11c74b4 -r 53e50427888b app/model/Messwert.js
--- 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
More information about the Lada-commits
mailing list