Sort by: <$select field="sortfield">
<option value="banque">Banque</option>
<option value="compte-type">Type</option>
</$select>
<table>
<tbody>
<tr>
<th>Banque</th><th>Beneficiaire</th><th>balance</th><th>date</th><th>Type</
th><th>end</th><th>location</th><th>num</th><th>status</th><th>notes</th>
</tr>
<$list filter="[tag[compte-banque]sort{!!sortfield}sort[beneficiare]]">
<tr>
<td><$link><$view field="banque"/></$link></td>
<td><$view field="beneficiaire"/></td>
<td><$view field="balance"/></td>
<td><$view field="balance-date"/></td>
<td><$view field="compte-type"/></td>
<td><$view field="end-date"/></td>
<td><$view field="localisation"/></td>
<td><$view field="num-compte"/></td>
<td><$view field="status"/></td>
<td><$view field="notes"/></td>
</tr></$list></tbody></table>

The name of the field to sort by is stored in the field "sortfield". Its 
value is retrieved in "sort{!!sortfield}". I think the select itself is 
pretty straightforward.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to