15 Aug
2000
15 Aug
'00
2:43 p.m.
Chris Withers wrote:
Shane Hathaway wrote:
Looking at the code, it appears that if you pass a list of two-element tuples, dtml-in will sort by the first element of each pair and render the second element.
Unluckilly, that's exactly what I was passing it. But not the result I was looking for :S
If, on the other hand, you pass a list of lists, it won't try to sort that way.
Yeah, using just a list of length-two lists did the job :-)
Can I be brave enough to ask why it does this and where it's documented (other than the source ;-)
I don't know of any place. It ought to be in the DTML reference. Shane