[Buildbot-commits] [Buildbot] #2418: Can't sort SourceStamp listing in Jinja2 build.html template
Buildbot
nobody at buildbot.net
Sat Dec 22 15:29:39 UTC 2012
#2418: Can't sort SourceStamp listing in Jinja2 build.html template
---------------------------------+------------------------
Reporter: mikesorrenti | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: undecided
Version: 0.8.7p1 | Resolution:
Keywords: SourceStamp sort web |
---------------------------------+------------------------
Comment (by dustin):
It's probably easiest to just sort that in the Python. From what you say,
it looks like the sort filter is intended for dictionaries, not objects.
The !SourceStamp class is about to die in nine, and the web status will,
too, so I don't see a lot of benefit to making this more complicated than
necessary -- in particular, adding {{__getitem__}} to !SourceStamp seems
like overkill.
--
Ticket URL: <http://trac.buildbot.net/ticket/2418#comment:2>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list