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.
Rafael-----Original Message-----
From: Sheeri Kritzer [mailto:skritz01@emerald.tufts.edu]
Sent: jeudi, 2. août 2001 16:37
To: rt-users@lists.fsck.com
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
the
top instead of the bottom?
Sheeri Kritzer
Systems Administrator
University Systems Group
Tufts University
617-627-3925
skritz01@emerald.tufts.edu
rt-users mailing list
rt-users@lists.fsck.com http://lists.fsck.com/mailman/listinfo/rt-users