R: [rt-users] RT 3.6.3 Reverse History Order patch

Roy El-Hames rfh at pipex.net
Mon Oct 29 12:03:32 EDT 2007


Olly;
I am running 3.6.3 and newest transactions at the top, I have
Set($OldestTransactionsFirst, '0');
working fine for me ... Remember to restart apache

There is a work around if you wish you can modify 
/opt/rt3/local/html/Ticket/Elements/ShowHistory and change
$Transactions->OrderByCols( { FIELD => 'Created',
                              ORDER => $OldestFirst },
                            { FIELD => 'id',
                              ORDER => $OldestFirst },
                          );
to
$Transactions->OrderByCols( { FIELD => 'Created',
                              ORDER => 'DESC' },
                            { FIELD => 'id',
                              ORDER => 'DESC' },
                          );

Roy
o.nash at cs.ucc.ie wrote:
> Gianluca
> Thanks for that wich I already have, i.e. tickets sorted by created 
> DESC order.
> My question is different:
> i.e.
> ticket transactions: how to sort the transactions in reverse order.
> instead of the default OldestTransactionsFirst
>
> regards
> Olly
>
> On Fri, 26 Oct 2007, Gianluca Cecchi wrote:
>
>>
>> Or you can do eventually
>> login as root
>> Select preferences (top right)
>> Select RT at a glance
>> Select unowned tickets
>> at right side where there is "order by"
>> first option by default is
>> Created   Asc
>>
>> Change to Desc
>>
>> But I don't know it this affects also non root users when they log-on 
>> or how to modify their preferences if not...
>>
>> Gianluca
>>
>>> -----Messaggio originale-----
>>> Da: rt-users-bounces at lists.bestpractical.com
>>> [mailto:rt-users-bounces at lists.bestpractical.com] Per conto
>>> di Kenneth Crocker
>>> Inviato: venerdì 26 ottobre 2007 0.25
>>> A: o.nash at cs.ucc.ie
>>> Cc: rt-users at lists.bestpractical.com
>>> Oggetto: Re: [rt-users] RT 3.6.3 Reverse History Order patch
>>>
>>> o.nash
>>>
>>>
>>>     We have 3.6.4 and don't have the problem you described.
>>> Perhaps an upgrade to that version will resolve the problem.
>>>
>>>
>>> Kenn
>>> LBNL
>>>
>>> On 10/25/2007 3:00 PM, o.nash at cs.ucc.ie wrote:
>>>> running RT 3.6.3 on linux.
>>>> I read http://wiki.bestpractical.com/view/ReverseHistoryOrder
>>>> Which desribes some patches that will change the
>>> Transaction history order
>>>> of tickets viewed on webpage.
>>>>
>>>> I tried the first simple option described:
>>>> added line to RT_SiteConfig
>>>> Set($OldestTransactionsFirst, 1);
>>>> then cleared mason cache
>>>> restarted apache but the history still shows Oldest First.
>>>> Setting Set($OldestTransactionsFirst, 1); causes apache to
>>> fail to restart
>>>> with erros about file permissions ....strange.
>>>>
>>>> So does anybody have a work around for RT 3.6.3 to do this.
>>>> -- 
>>>> thanks
>>>> Oliver
>>>> _______________________________________________
>>>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>>>
>>>> SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:
>>>>
>>>> If you sign up for a new RT support contract before
>>> December 31, we'll take
>>>> up to 20 percent off the price. This sale won't last long,
>>> so get in
>>>> touch today.    Email us at sales at bestpractical.com or call
>>> us at +1 617
>>>> 812 0745.
>>>>
>>>>
>>>> Community help: http://wiki.bestpractical.com
>>>> Commercial support: sales at bestpractical.com
>>>>
>>>>
>>>> Discover RT's hidden secrets with RT Essentials from
>>> O'Reilly Media. Buy
>>>> a copy at http://rtbook.bestpractical.com
>>>>
>>> _______________________________________________
>>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>>
>>> SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:
>>>
>>> If you sign up for a new RT support contract before December
>>> 31, we'll take
>>> up to 20 percent off the price. This sale won't last long, so
>>> get in touch today.
>>>     Email us at sales at bestpractical.com or call us at +1 617 812 0745.
>>>
>>>
>>> Community help: http://wiki.bestpractical.com
>>> Commercial support: sales at bestpractical.com
>>>
>>>
>>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>>> Buy a copy at http://rtbook.bestpractical.com
>>>
>> _______________________________________________
>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>
>> SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:
>>
>> If you sign up for a new RT support contract before December 31, 
>> we'll take
>> up to 20 percent off the price. This sale won't last long, so get in 
>> touch today.
>>    Email us at sales at bestpractical.com or call us at +1 617 812 0745.
>>
>>
>> Community help: http://wiki.bestpractical.com
>> Commercial support: sales at bestpractical.com
>>
>>
>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>> Buy a copy at http://rtbook.bestpractical.com
>>
>
> -- 
> Oliver Nash
> Computer Systems Support Group
> Department of Computer Science
> University College Cork
> Ireland
> EMAIL:o.nash at cs.ucc.ie
> PHONE:+35321 4902972
> ------------------------------------------------------------------------
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:
>
> If you sign up for a new RT support contract before December 31, we'll take
> up to 20 percent off the price. This sale won't last long, so get in touch today. 
>     Email us at sales at bestpractical.com or call us at +1 617 812 0745.
>
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com




More information about the rt-users mailing list