[Mpuls-commits] r1072 - wasko/branches/2.0/waskaweb/templates/logbook

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Feb 1 15:30:42 CET 2010


Author: torsten
Date: 2010-02-01 15:30:41 +0100 (Mon, 01 Feb 2010)
New Revision: 1072

Modified:
   wasko/branches/2.0/waskaweb/templates/logbook/overview.mako
Log:
* waskaweb/templates/logbook/overview.mako: Send sort params as GET
params



Modified: wasko/branches/2.0/waskaweb/templates/logbook/overview.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/logbook/overview.mako	2010-02-01 14:02:27 UTC (rev 1071)
+++ wasko/branches/2.0/waskaweb/templates/logbook/overview.mako	2010-02-01 14:30:41 UTC (rev 1072)
@@ -25,20 +25,20 @@
 <table class="appointment">
   <tr>
     <th class="date table_header_h">Datum
-      <a href="/case/logbook/${session.get('case').id}/datum/asc"><img class="sorticon" src="/images/icons/sort_asc.png"></a> 
-      <a href="/case/logbook/${session.get('case').id}/datum/desc"><img class="sorticon" src="/images/icons/sort_desc.png"></a> 
+      <a href="/logbook/index/${session.get('case').id}?sort_field=datum&sort_order=asc"><img class="sorticon" src="/images/icons/sort_asc.png"></a> 
+      <a href="/logbook/index/${session.get('case').id}?sort_field=datum&sort_order=desc"><img class="sorticon" src="/images/icons/sort_desc.png"></a> 
     </th>
     <th class="title table_header_h">Bearbeiter
-      <a href="/case/logbook/${session.get('case').id}/nachname/asc"><img class="sorticon" src="/images/icons/sort_asc.png"></a> 
-      <a href="/case/logbook/${session.get('case').id}/nachname/desc"><img class="sorticon" src="/images/icons/sort_desc.png"></a> 
+      <a href="/logbook/index/${session.get('case').id}?sort_field=nachname&sort_order=asc"><img class="sorticon" src="/images/icons/sort_asc.png"></a> 
+      <a href="/logbook/index/${session.get('case').id}?sort_field=nachname&sort_order=desc"><img class="sorticon" src="/images/icons/sort_desc.png"></a> 
     </th>
     <th class="title table_header_h">Art
-      <a href="/case/logbook/${session.get('case').id}/art/asc"><img class="sorticon" src="/images/icons/sort_asc.png"></a> 
-      <a href="/case/logbook/${session.get('case').id}/art/desc"><img class="sorticon" src="/images/icons/sort_desc.png"></a> 
+      <a href="/logbook/index/${session.get('case').id}?sort_field=art&sort_order=asc"><img class="sorticon" src="/images/icons/sort_asc.png"></a> 
+      <a href="/logbook/index/${session.get('case').id}?sort_field=art&sort_order=desc"><img class="sorticon" src="/images/icons/sort_desc.png"></a> 
     </th>
     <th class="title table_header_h">Dauer (min)
-      <a href="/case/logbook/${session.get('case').id}/dauer/asc"><img class="sorticon" src="/images/icons/sort_asc.png"></a> 
-      <a href="/case/logbook/${session.get('case').id}/dauer/desc"><img class="sorticon" src="/images/icons/sort_desc.png"></a> 
+      <a href="/logbook/index/${session.get('case').id}?sort_field=dauer&sort_order=asc"><img class="sorticon" src="/images/icons/sort_asc.png"></a> 
+      <a href="/logbook/index/${session.get('case').id}?sort_field=dauer&sort_order=desc"><img class="sorticon" src="/images/icons/sort_desc.png"></a> 
     </th>
     <th class="action table_header_h">${_('app_overview_tbl_header_actions')}</th>
   </tr>



More information about the Mpuls-commits mailing list