[rt-users] Add Time difference in search result
AJ
aaron.mccarthy at southwestern.ie
Thu Jul 31 11:44:21 EDT 2014
Advanced Search:
Query: Queue = 'Helpdesk' AND ( Status = 'new' OR Status = 'open' )
Format: ' * __id__ <__WebPath__/Ticket/Display.html?id=__id__>
*/TITLE:#',
'* __Subject__ <__WebPath__/Ticket/Display.html?id=__id__>
*/TITLE:Subject',
'__Status__',
'__QueueName__',
'__OwnerName__',
'__Priority__',
'__NEWLINE__',
'',
'<small>__Requestors__</small>',
'<small>__CreatedRelative__</small>',
'<small>__ToldRelative__</small>',
'<small>__LastUpdatedRelative__</small>',
'__DifferenceReopenedTime__'
I have put the new search in
/html/Callbacks/MyRT/Search/Elements/BuildFormatString/
and placed in a file called Default
In this file is:
<%INIT>
push @{$Fields}, 'DifferenceReopenedTime';
</%INIT>
<%ARGS>
$Fields => undef
</%ARGS>
I hope this helps
--
View this message in context: http://requesttracker.8502.n7.nabble.com/Add-Time-difference-in-search-result-tp58100p58130.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
More information about the rt-users
mailing list