Item10381: It should be much easier to sort on dates

pencil
Priority: Enhancement
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
Reported By: ArthurClemens
Waiting For:
Last Change By: ArthurClemens
I have a form field PublishingDate where users can enter a human readable date using a date picker.

If I want to sort topics on that field, I cannot use sort="formfield(PublishingDate)" because that will sort the topics on the strings of those form fields.

I figured I could use
sort="%QUERY{"d2n('$formfield(PublishingDate)')"}%"
but that does not work, neither does the escaped
$percntQUERY{$quotd2n('$formfield(PublishingDate)')$quot}$percnt

-- ArthurClemens - 20 Feb 2011

Happy this has been fixed: Item10258.

-- ArthurClemens - 20 Feb 2011

 

ItemTemplate edit

Summary It should be much easier to sort on dates
ReportedBy ArthurClemens
Codebase 1.1.2, trunk
SVN Range
AppliesTo Engine
Component
Priority Enhancement
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r1 - 21 Feb 2011, ArthurClemens
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