id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses
24136,Compare Two mode loads wrong post for left side when another post was created at the same time,westi,ocean90,"In the revisions js we have the following code:
{{{
'compareTo': self.revisions.at( self.leftDiff ).get( 'ID' ) - 1,
}}}
Performing arbitrary increments or decrements on the ID won't work because there is no guarantee that they will be sequential on anything.
I'm attaching a patch that appears to fix it for me, but I'm not 100% convinced of what the logic is here - the JS could use some comments so it is clear what is going on.",defect (bug),closed,high,3.6,Revisions,3.6,critical,fixed,has-patch,,