Modify ↓
#636 closed defect (fixed)
Sorting problems for non-numeric revisions
Reported by: | anonymous | Owned by: | osimons |
---|---|---|---|
Priority: | minor | Milestone: | 0.6 |
Component: | Trac plugin | Version: | 0.6b2 |
Keywords: | Cc: | ||
Operating System: | Linux |
Description
When using a RCS that doesn't do numeric revisions (e.g. git), an error occurs on certain bitten pages due to a numeric sort on the revision field. I believe a good fix for this would be to do the sort by revision time, which should work in all cases regardless of the type of RCS used. 1 line patch attached...
Attachments (1)
Change History (3)
Changed 14 years ago by anonymous
comment:1 Changed 14 years ago by osimons
- Milestone changed from 0.6.1 to 0.6
- Owner set to osimons
Thanks for the patch. That looks good, and something we seem to have missed when doing #503.
I'll commit it.
comment:2 Changed 14 years ago by osimons
- Component changed from Administration interface to Trac plugin
- Resolution set to fixed
- Status changed from new to closed
Committed in [952]. Will be backported to 0.6 shortly.
Note: See
TracTickets for help on using
tickets.
Sort by rev time instead of rev number