Modify ↓
Opened 7 months ago
Last modified 7 months ago
#10614 new enhancement
[PATCH]: Formulardetails list not time-sorted
| Reported by: | falkb | Owned by: | hasienda |
|---|---|---|---|
| Priority: | normal | Component: | TracFormsPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 1.0 |
Description
I don't see the order criteria of that list but how can I have it sorted by time? It seems it doesn't work.
Attachments (0)
Change History (2)
comment:1 Changed 7 months ago by anonymous
comment:2 in reply to: ↑ description Changed 7 months ago by falkb
- Summary changed from Formulardetails list not time-sorted to [PATCH]: Formulardetails list not time-sorted
This one should help:
-
tracformsplugin/0.11/tracforms/web_ui.py
196 196 'author': tag.span(tag(_("by %(author)s", author=author)), 197 197 class_='author'), 198 198 'time': time}) 199 return rendered199 return sorted(rendered, key=lambda k: k['time'], reverse=True) 200 200 201 201 # ISearchSource methods
Note: See
TracTickets for help on using
tickets.


Is it possible to have also older changes than the most recently ones displayed?