Message3209
I thought I saw an RFE requesting that the names o
the properties be formatted when using tal statments like:
context/properties
Sourceforge has been up and down all day, so I can't check or upload this file right now, so I thought I would send it to the list.
With this patch context/properties will produce a sorted list. You can use python:context.properties(sort=False) to get the old behavior.
I have attached a patch to templating.py to do that. I basically took the original code, duplicated it and modified the duplicate to sort the property names. This really does make it easier to select a property by typing letters, or scanning the list visually.
If somebody with more python experience can tell me how I could have sorted the tuples of name, item directly, I would love to know.
Patch attached. This was taken from:
http://sourceforge.net/mailarchive/message.php?msg_id=4122250 |
|
Date |
User |
Action |
Args |
2009-02-03 14:23:41 | admin | link | issue724738 messages |
2009-02-03 14:23:41 | admin | create | |
|