Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#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)

bitten-rev-sort.patch (737 bytes) - added by anonymous 14 years ago.
Sort by rev time instead of rev number

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by anonymous

Sort by rev time instead of rev number

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.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain osimons.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.