[Mpuls-commits] r3493 - waska/trunk

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


Author: bh
Date: 2010-08-31 12:27:43 +0200 (Tue, 31 Aug 2010)
New Revision: 3493

Modified:
   waska/trunk/ChangeLog
   waska/trunk/waska.json
Log:
* waska.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: waska/trunk/ChangeLog
===================================================================
--- waska/trunk/ChangeLog	2010-08-31 10:25:58 UTC (rev 3492)
+++ waska/trunk/ChangeLog	2010-08-31 10:27:43 UTC (rev 3493)
@@ -1,3 +1,9 @@
+2010-08-31  Bernhard Herzog  <bh at intevation.de>
+
+	* waska.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  Roland Geider  <roland.geider at intevation.de>
 
 	* waskaweb/templates/main.mako: issue1061: re-added the "My Account"

Modified: waska/trunk/waska.json
===================================================================
--- waska/trunk/waska.json	2010-08-31 10:25:58 UTC (rev 3492)
+++ waska/trunk/waska.json	2010-08-31 10:27:43 UTC (rev 3493)
@@ -63,14 +63,14 @@
 		"default-sorting": "name_1", 
 		"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