[Mpuls-commits] r1986 - wasko/branches/2.0/mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Mar 17 10:51:17 CET 2010


Author: torsten
Date: 2010-03-17 10:51:16 +0100 (Wed, 17 Mar 2010)
New Revision: 1986

Modified:
   wasko/branches/2.0/mpulsweb/lib/config.py
Log:
* mpulsweb/lib/config.py: Added missing search options to config


Modified: wasko/branches/2.0/mpulsweb/lib/config.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/config.py	2010-03-17 09:42:05 UTC (rev 1985)
+++ wasko/branches/2.0/mpulsweb/lib/config.py	2010-03-17 09:51:16 UTC (rev 1986)
@@ -233,13 +233,31 @@
         # ------
         # Admin defaults:
         search_admin_default = [
-            {'search_str': '', 'state': ['3', '4'], 'phase': ['-1']}
+            {
+                'own': '0', 
+                'standin': '0', 
+                'editor': '-1', 
+                'search_str': '', 
+                'state': ['3', '4'], 
+                'phase': ['-1'],  
+                'sdate': '', 
+                'edate': ''
+            }
         ]
         set('search', 'admin_defaults', search_admin_default)
 
         # CM defaults:
         search_cm_default = [
-            {'own': '1', 'search_str': '', 'state': ['1'], 'phase': ['-1']}
+            {
+                'own': '1', 
+                'standin': '0', 
+                'editor': '-1', 
+                'search_str': '', 
+                'state': ['1'], 
+                'phase': ['-1'],  
+                'sdate': '', 
+                'edate': ''
+            }
         ]
         set('search', 'cm_defaults', search_cm_default)
 



More information about the Mpuls-commits mailing list