The first patch is incomplete the following is also required to get it
to work correctly.
diff --git a/html/Search/Calendar.html b/html/Search/Calendar.html
index 22cda79..6693180 100644
--- a/html/Search/Calendar.html
+++ b/html/Search/Calendar.html
@@ -184,6 +184,8 @@ my $TempQuery = "( Status = 'new' OR Status =
'open' OR Status = 'stalled')
if ( my $Search =
RTx::Calendar::SearchDefaultCalendar($session{CurrentUser}) ) {
$TempFormat = $Search->SubValue('Format');
$TempQuery = $Search->SubValue('Query');
+ $TempOrderBy = $Search->SubValue('OrderBy');
+ $TempOrder = $Search->SubValue('Order');
}
# we overide them if needed
On 2013-05-01 18:22, Bugs in RTx-Calendar via RT wrote:
Show quoted text> Greetings,
>
> This message has been automatically generated in response to the
> creation of a trouble ticket regarding:
> "[rt-devel] RTx::Calendar - Patch to add sorting of calendar
> events",
> a summary of which appears below.
>
> There is no need to reply to this message right now. Your ticket has
> been
> assigned an ID of [rt.cpan.org #84973]. Your ticket is accessible
> on the web at:
>
>
https://rt.cpan.org/Ticket/Display.html?id=84973
>
> Please include the string:
>
> [rt.cpan.org #84973]
>
> in the subject line of all future correspondence about this issue. To
> do so,
> you may reply to this message.
>
> Thank you,
> bug-RTx-Calendar@rt.cpan.org
>
>
> -------------------------------------------------------------------------
> Hi,
>
> Don't know if you can class this as a bug or a enhancement. The patch
> allows
> the user to specify the sort order in their search and orders the
> events in the calendar
> in the appropriate way.
>
> Best Regards
>
> --
> Martin Wheldon
> Greenhills IT Ltd.
> Telephone: 01904 238 454
>
> Greenhills IT Ltd. is a limited company registered in England and
> Wales.
> Company Registration No: 06387214
> Registered Offices: 2 Greenhills, Claxton, YORK, North Yorkshire,
> YO60
> 7SA
>
>
>
> !DSPAM:9,518141ea33236951336986!