[Mpuls-commits] r4475 - base/trunk/mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Jan 7 12:42:51 CET 2011


Author: torsten
Date: 2011-01-07 12:42:50 +0100 (Fri, 07 Jan 2011)
New Revision: 4475

Modified:
   base/trunk/mpulsweb/lib/search.py
Log:
* mpulsweb/lib/search.py (EvaluationSearch.get_order): Set default search param to "count"


Modified: base/trunk/mpulsweb/lib/search.py
===================================================================
--- base/trunk/mpulsweb/lib/search.py	2011-01-07 11:41:44 UTC (rev 4474)
+++ base/trunk/mpulsweb/lib/search.py	2011-01-07 11:42:50 UTC (rev 4475)
@@ -530,7 +530,7 @@
         return self.SEARCH_FIELDS
 
     def get_order(self, options):
-        sort_field = options.get('sort_field', "m.fkz")
+        sort_field = options.get('sort_field', "count")
         sort_order = options.get('sort_order', "desc")
         return self.SEARCH_ORDER % (sort_field, sort_order)
 



More information about the Mpuls-commits mailing list