[Mpuls-commits] r1204 - wasko/branches/2.0/waskaweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Feb 3 10:49:48 CET 2010


Author: torsten
Date: 2010-02-03 10:49:48 +0100 (Wed, 03 Feb 2010)
New Revision: 1204

Modified:
   wasko/branches/2.0/waskaweb/templates/casemanagement/caselist.mako
Log:
* waskaweb/templates/casemanagement/caselist.mako: sort params are not
encoded as GET params.


Modified: wasko/branches/2.0/waskaweb/templates/casemanagement/caselist.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/casemanagement/caselist.mako	2010-02-03 09:48:35 UTC (rev 1203)
+++ wasko/branches/2.0/waskaweb/templates/casemanagement/caselist.mako	2010-02-03 09:49:48 UTC (rev 1204)
@@ -41,9 +41,9 @@
   % for title, urlpart, style, roles, get_value in fields:
     % if h.hasRole(roles):
       <th class="${style} table_header_h">${title}
-        <a href="/case_overview/overview/0/${urlpart}/asc">
+        <a href="/case_overview/overview?sort_field=${urlpart}&sort_order=asc">
           <img class="sorticon" src="/images/icons/sort_asc.png"></a>
-        <a href="/case_overview/overview/0/${urlpart}/desc">
+        <a href="/case_overview/overview?sort_field=${urlpart}&sort_order=desc">
           <img class="sorticon" src="/images/icons/sort_desc.png"></a>
       </th>
     % endif



More information about the Mpuls-commits mailing list