26 Feb
2002
26 Feb
'02
5:20 p.m.
[Jim Washington]
I would set it to a zero-length string. Zope handles the following OK on my machine.
<a href="<dtml-var URL0>?sort_order_asc=1">ascending</a> <a href="<dtml-var URL0>?sort_order_asc=">descending</a>
Better to have it be ...sort_order_asc=0 so that you can be sure that the property exists. You can still test it easily using dtml-if. Otherwise the test may fail because the property does not exist. Cheers, Tom P