Item9374: EditTablePlugin wrongly assumes that 4 digit numbers is a year

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
Reported By: KennethLavrsen
Waiting For:
Last Change By: KennethLavrsen
In an attempt to be able to sort a mix of dates incl a date which is just a year, the result is that numbers are sorted wrong

Head
2002
1490
0735
1223

It took me two hours at work to find out why a search that returns the number of a change request (which is 4 digits) would not sort.

I think the number of cases where people have to sort a mix of dates and integer 4 digit numbers is so rare compared by the case of sorting plain 4 digit numbers.

And even when we sort as number - and the 4 digts are pure years with no mix - numeric sort works as well.

I am fixing this back so numbers sort again.

This is trunk only and never released so I can close the bug.

The reason I saw it at work is that I have been testing the trunk version of the plugin for a while at work because it had some other sort related fixes that were important.

-- KennethLavrsen - 22 Jul 2010

 

ItemTemplate edit

Summary EditTablePlugin wrongly assumes that 4 digit numbers is a year
ReportedBy KennethLavrsen
Codebase trunk
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:438b9e8da15c
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r1 - 22 Jul 2010, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy