[Zope] dtml-in sort by generic function

Oleg Broytmann Oleg Broytmann <phd@phd.fep.ru>
Fri, 30 Mar 2001 20:35:43 +0400 (MSD)


Hello!

On Tue, 27 Mar 2001, Dieter Maurer wrote:
>  >    sort="attr1/cmp1,attr2,attr3/cmp3/desc,...."

   I did it! The patch is simple enough, to my surprise. I wrote a small
test suite (7 templates) to be run from command line. The test passed both
under Python 1.5.2 and 2.0.

   Anyone wants to see the patch and tests while I am testing patched Zope?

Oleg.
----
     Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.