[rt-users] ShowHistory Modification to show last communication

Mike Husband m.husband at leadup.com.au
Mon Mar 8 17:35:53 EST 2004


Sorry, there was a defect in the code I posted earlier
such that an error was displayed if there was only one
comment.  The attached code fixes the defect.


> -----Original Message-----
> From: Mike Husband [mailto:m.husband at leadup.com.au]
> Sent: Friday, 20 February 2004 9:42 AM
> To: 'rt-users at lists.bestpractical.com'
> Subject: [rt-users] ShowHistory Modification to show last 
> communication
> 
> 
> 
> David Swift wrote:
> 
> After playing with a mod that was posted to this file earlier, I found
> that often the last item in a history list was only a status change
> message.  After fielding a few confused developers' requests, I added
> some code to find the last communication in a transaction list.
> 
> -------------
> 
> I have modified David's code to
>   - display the first and last comment
>   - display appropriate titles
> 
> Install in rt3/local/html/Ticket/Elements.
> 
> Mike
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ShowHistory.gz
Type: application/x-gzip
Size: 1572 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20040309/4a354135/attachment.bin>


More information about the rt-users mailing list