[Mpuls-commits] r4657 - base/trunk/mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Feb 18 16:24:34 CET 2011


Author: torsten
Date: 2011-02-18 16:24:34 +0100 (Fri, 18 Feb 2011)
New Revision: 4657

Modified:
   base/trunk/mpulsweb/controllers/case_overview.py
Log:
Do not save sort params in session in get_sort fucntion.


Modified: base/trunk/mpulsweb/controllers/case_overview.py
===================================================================
--- base/trunk/mpulsweb/controllers/case_overview.py	2011-02-18 15:22:43 UTC (rev 4656)
+++ base/trunk/mpulsweb/controllers/case_overview.py	2011-02-18 15:24:34 UTC (rev 4657)
@@ -8,7 +8,6 @@
 
 from mpulsweb.lib.base import c, render, request, session, BaseController
 from mpulsweb.lib.security import checkRole
-from mpulsweb.lib.validators import CaseOverviewForm 
 from mpulsweb.model.user import UserListObject
 from mpulsweb.model.case import MpulsCaseOverview
 from mpulsweb.model.phase import PhaseFactory 
@@ -31,9 +30,6 @@
                        session_options.get('sort_order',
                                            g.mpuls_config.get('search',
                                                               'default-order')))
-    session_options['sort_field'] = sort
-    session_options['sort_order'] = order
-    session.save()
     return sort, order
 
 # TODO: Move function. Is only used in other controllers. May be better placed



More information about the Mpuls-commits mailing list