[Zope] Dynamic ordering of DTML-IN?
Andy Gates
Andy.Gates@bristol.ac.uk
Tue, 23 Jan 2001 12:39:52 +0000
Another one from the "my brain don't work" side of the tracks:
I have a staff list that I want to be orderable by first or last name.
So I have buttons for each that link thus:
<a href="staff?orderby=firstname"> etc
The idea is that that feeds over to the DTML-IN tag thus:
<dtml-in "sql_search(search='foo')" sort=orderby>
But this barfs, because it's expecting a field name "orderby" and there
isn't one. How do I evaluate that?
----------------------
Andy Gates, Learning and Research Technology
Andy.Gates@bristol.ac.uk - ICQ#74362415
http://www.ilrt.bristol.ac.uk