[rt-users] Filtering out unneeded info from ticket

Chris Hall hiro24 at gmail.com
Mon May 17 10:47:58 EDT 2010


That seems to work like a charm... thanks for the hard work. :)

On Sat, May 15, 2010 at 7:32 PM, Christian Loos <cloos at netsandbox.de> wrote:

> 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.
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100517/a55b3d66/attachment.htm>


More information about the rt-users mailing list