On Fri, May 10, 2013 at 10:45:59AM +0100, Asanka Gunasekera wrote: > Hi I have added below to the RT_SiteConfig.pm and all are working fine > except the > "__TimeLeft__" it just come as an empty column, can any one tell me how to > rectify this. I am > using RT4, oracle db and Redhat linux
After fixing several other errors in your format (use __WebPath__ instead of $RT::WebPath and this line is wrong: '<b>><A the format works fine and displays TimeLeft for me. -kevin > Set ($DefaultSearchResultFormat, qq{ > '<b><A > HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#', > '__QueueName__', > '<b>><A > > HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__Subject__</a></b>/TITLE:Subject', > '__Status__', > '__OwnerName__', > '__Priority__', > '__CustomField.{SLA}__', > '__NEWLINE__', > '', > '<small>__Requestors__</small>', > '<small>__CreatedRelative__</small>', > '<small>__ToldRelative__</small>', > '<small>__LastUpdatedRelative__</small>', > '<b><small>__Created__<small></a></b>/TITLE:Create Date', > '<small>__TimeLeft__</small>' > });
pgpuZ9k4weonk.pgp
Description: PGP signature
-- RT Training in Seattle, June 19-20: http://bestpractical.com/training