Re: [Zope] sort=id, _.map, _.lambda woes
2 Jul
2000
2 Jul
'00
9:40 p.m.
Marco Mariani writes:
<dtml-in "store.fileValues()" sort=id>
where "id" is a filename representing a number. Of course, sort uses it like a string and sorts it wrong.
Maybe, since sortexpr= is not implemented (yet?) I could get away with:
<dtml-in "_.map(_.int,store.fileValues())" sort=id>
but _.map doesn't exist (nor _.lambda. Why?) You would not need _.lambda. "lambda" is not a function but a keyword in Python expressions. It, therefore, is not required in "_" to be used.
Dieter
9408
Age (days ago)
9408
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer