[Mpuls-commits] r1650 - wasko/branches/2.0
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Feb 17 16:11:32 CET 2010
Author: bh
Date: 2010-02-17 16:11:31 +0100 (Wed, 17 Feb 2010)
New Revision: 1650
Modified:
wasko/branches/2.0/ChangeLog
wasko/branches/2.0/wasko.json
Log:
* wasko.json: Add wasko-specific fields configuration
Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog 2010-02-17 15:10:42 UTC (rev 1649)
+++ wasko/branches/2.0/ChangeLog 2010-02-17 15:11:31 UTC (rev 1650)
@@ -1,5 +1,12 @@
2010-02-17 Bernhard Herzog <bh at intevation.de>
+ Final step in moving the field configuration to the configuration
+ files:
+
+ * wasko.json: Add wasko-specific fields configuration
+
+2010-02-17 Bernhard Herzog <bh at intevation.de>
+
* waskaweb/model/case.py (Case.fields, Case.alias_dict):
Removed. Will now be set in set_fields
(Case.set_fields): New. Classmethod to set fields and create the
Modified: wasko/branches/2.0/wasko.json
===================================================================
--- wasko/branches/2.0/wasko.json 2010-02-17 15:10:42 UTC (rev 1649)
+++ wasko/branches/2.0/wasko.json 2010-02-17 15:11:31 UTC (rev 1650)
@@ -62,5 +62,51 @@
}
]
+ },
+
+ "case": {
+ "fields": [
+ {"name":"name", "digest":true,
+ "search_retrieve":true, "search_match":true,
+ "preload":true, "session":true, "alias":"last_name"},
+ {"name":"vorname", "digest":true,
+ "search_retrieve":true, "search_match":true,
+ "preload":true, "session":true, "alias":"first_name"},
+ {"name":"fn", "digest":true,
+ "search_retrieve":true, "search_match":true,
+ "preload":true, "session":true, "alias":"knr"},
+ {"name":"geburtsdatum", "digest":true},
+ {"name":"addresse_strasse", "digest":true,
+ "session":true, "alias":"street"},
+ {"name":"addresse_strassenr", "digest":true,
+ "session":true, "alias":"streetnr"},
+ {"name":"addresse_plz", "digest":true,
+ "session":true, "alias":"plz"},
+ {"name":"addresse_ort", "digest":true,
+ "session":true, "alias":"city"},
+ {"name":"addresse_vorwahl", "digest":true},
+ {"name":"addresse_telefonnummer", "digest":true},
+ {"name":"addresse_weiteretelefonnummern", "digest":true},
+ {"name":"addresse_email", "digest":true},
+ {"name":"mutter_vn", "digest":true},
+ {"name":"mutter_n", "digest":true},
+ {"name":"mutter_vorwahl", "digest":true},
+ {"name":"mutter_telefonnummer", "digest":true},
+ {"name":"mutter_email", "digest":true},
+ {"name":"vater_vn", "digest":true},
+ {"name":"vater_n", "digest":true},
+ {"name":"vater_vorwahl", "digest":true},
+ {"name":"vater_telefonnummer", "digest":true},
+ {"name":"vater_email", "digest":true},
+ {"name":"erstgespraech",
+ "preload":true, "session":true,
+ "alias":"first_meeting", "alias_force_string":false},
+ {"name":"datum_cm_ende",
+ "preload":true, "session":true,
+ "alias":"cm_end", "alias_force_string":false},
+ {"name":"bearbeiter_id",
+ "search_retrieve":true, "preload":true,
+ "alias":"editor", "alias_force_string":false}
+ ]
}
}
More information about the Mpuls-commits
mailing list