On the file “ShowHistory” you should have a INIT section.
On it, the following line:
my $Transactions = $Ticket->Transactions;
Add the following code just after that line:
$Transactions->OrderBy( ALIAS => ‘main’,
FIELD => ‘Created’,
ORDER => ‘DESC’);
It should work.
I didn’t test it, but this work with another element I’ve wrote. This
element show a “Reverse history summary” just before the history, with
one line per transaction, and with an hyperlink to the transaction
details in the detailed history. So, just looking at this summary, you
know who did what. Just click on a link and you go to the details.
See the attachement to see it if you want.
If you also want this element, let me know.
From: Sheeri Kritzer [mailto:email@example.com]
Sent: jeudi, 2. août 2001 16:37
Subject: Re: [rt-users] One more dumb question…
On Thu, 2 Aug 2001, David C. Troy wrote:
I want to customize the look of the Web UI a bit… ‘Ticket History’
sure is big, for example.
Dave, I see your dumb question and raise you another.
Any way to customize Ticket History so the most recent comments are on
top instead of the bottom?
University Systems Group
rt-users mailing list