[Mpuls-commits] r3492 - wasko/trunk

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Aug 31 12:25:58 CEST 2010


Author: bh
Date: 2010-08-31 12:25:58 +0200 (Tue, 31 Aug 2010)
New Revision: 3492

Modified:
   wasko/trunk/ChangeLog
   wasko/trunk/wasko.json
Log:
* wasko.json: Change type of the default values for the search
options "phase" and "state" to int to match the types the
validator returns for the form parameters.


Modified: wasko/trunk/ChangeLog
===================================================================
--- wasko/trunk/ChangeLog	2010-08-31 10:20:47 UTC (rev 3491)
+++ wasko/trunk/ChangeLog	2010-08-31 10:25:58 UTC (rev 3492)
@@ -1,3 +1,9 @@
+2010-08-31  Bernhard Herzog  <bh at intevation.de>
+
+	* wasko.json: Change type of the default values for the search
+	options "phase" and "state" to int to match the types the
+	validator returns for the form parameters.
+
 2010-08-30  Bernhard Herzog  <bh at intevation.de>
 
 	* waskoweb/lib/search.py (CaseSearch.get_gender_clause): Adapt to

Modified: wasko/trunk/wasko.json
===================================================================
--- wasko/trunk/wasko.json	2010-08-31 10:20:47 UTC (rev 3491)
+++ wasko/trunk/wasko.json	2010-08-31 10:25:58 UTC (rev 3492)
@@ -60,14 +60,14 @@
 		"default-sorting": "name", 
 		"admin_defaults": [
             		{"search_str": "", 
-			 "state": ["3", "4"], 
-			 "phase": ["-1", "0", "1", "2", "3"]}
+			 "state": [3, 4], 
+			 "phase": [-1, 0, 1, 2, 3]}
 		],
 		"cm_defaults": [
             		{"own": "1", 
 			 "search_str": "", 
-			 "state": ["1"], 
-			 "phase": ["-1", "0", "1", "2", "3"]}
+			 "state": [1], 
+			 "phase": [-1, 0, 1, 2, 3]}
 		]
 	},
 	"logbook": {



More information about the Mpuls-commits mailing list