Opened 15 years ago
Last modified 14 years ago
#7800 closed defect
Sorting by age broken in browser view — at Version 1
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | 0.12.1 |
Component: | version control/browser | Version: | 0.11-stable |
Severity: | normal | Keywords: | age date order |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
The key to sort the browser view is "age" not "date".
Patch is inlined. =)
-
trac/versioncontrol/templates/browser.html
old new 80 80 ${sortable_th(dir.order, dir.desc, 'name', 'Name')} 81 81 ${sortable_th(dir.order, dir.desc, 'size', 'Size')} 82 82 <th class="rev">Rev</th> 83 ${sortable_th(dir.order, dir.desc, ' date', 'Age')}83 ${sortable_th(dir.order, dir.desc, 'age', 'Age')} 84 84 <th class="change">Last Change</th> 85 85 </tr> 86 86 </thead>
Change History (1)
comment:1 by , 15 years ago
Description: | modified (diff) |
---|---|
Keywords: | needinfo added; browser versioncontrol removed |
Milestone: | 0.11.2 |
Note:
See TracTickets
for help on using tickets.
Sorry, no more tickets for 0.11.2.
I quickly tested on trunk, and the sorting by age seems to work ok. But if I apply your patch, the sorting is messed up.
Could you describe more precisely what problem you observe and how to reproduce it? Also, what Trac version are you using (set the Version field)?