[rt-users] Filtering out unneeded info from ticket
Christian Loos
cloos at netsandbox.de
Sat May 15 19:32:53 EDT 2010
Hi Chris,
I just created an extension that is doing what you want.
You can check it out at github:
http://github.com/cloos/rt-extension-briefhistory
Chris
Am 13.05.2010 19:28, schrieb Chris Hall:
> Thanks Raed and Torsten, I took a little bit of both. I ended up
> editing Ticket/Elements/ShowHistory with:
>
> } else {
> $Transactions = $Ticket->Transactions;
> if ($r->uri =~ /History\.html/) {
> } else {
> $Transactions->Limit(FIELD => 'Type', VALUE => 'Correspond');
> $Transactions->Limit(FIELD => 'Type', VALUE => 'Comment');
> $Transactions->Limit(FIELD => 'Type', VALUE => 'Create');
> }
> }
>
> so that the "full" history would be shown if the history link was
> clicked, as alluded to in Torsten's link. (I couldn't seem to get the
> Callbacks working for some reason.. maybe I just needed to restart
> apache?) so with this code, only the added comments are shown unless
> you are looking from the history link, in which case everything is
> shown.. seems to work pretty well. I'll keep looking later though, as
> I'd rather get the callbacks working instead. Thanks for the help guys.
More information about the rt-users
mailing list