[Zope] ASC / DESC in queries`?
Thomas B. Passin
tpassin@mitretek.org
Tue, 26 Feb 2002 12:20:05 -0500
[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