<p dir="ltr">The search result format string from the Advanced screen of the search builder looks okay to me.</p>
<p dir="ltr">The file you've referenced only manages the addition of the field to the select box on the search builder screen, and is presumably in the correct location and working if your new field is showing up in the select box.</p>

<p dir="ltr">What's the full path to the file with the "it works" line, and that file's complete content?</p>
<div class="gmail_quote">On 01/08/2014 1:44 am, "AJ" <<a href="mailto:aaron.mccarthy@southwestern.ie">aaron.mccarthy@southwestern.ie</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Advanced Search:<br>
<br>
Query: Queue = 'Helpdesk' AND (  Status = 'new' OR Status = 'open' )<br>
<br>
Format: '   * __id__ <__WebPath__/Ticket/Display.html?id=__id__><br>
*/TITLE:#',<br>
'* __Subject__ <__WebPath__/Ticket/Display.html?id=__id__><br>
*/TITLE:Subject',<br>
'__Status__',<br>
'__QueueName__',<br>
'__OwnerName__',<br>
'__Priority__',<br>
'__NEWLINE__',<br>
'',<br>
'<small>__Requestors__</small>',<br>
'<small>__CreatedRelative__</small>',<br>
'<small>__ToldRelative__</small>',<br>
'<small>__LastUpdatedRelative__</small>',<br>
'__DifferenceReopenedTime__'<br>
<br>
I have put the new search in<br>
/html/Callbacks/MyRT/Search/Elements/BuildFormatString/<br>
and placed in a file called Default<br>
<br>
In this file is:<br>
<%INIT><br>
push @{$Fields}, 'DifferenceReopenedTime';<br>
</%INIT><br>
<%ARGS><br>
$Fields => undef<br>
</%ARGS><br>
<br>
I hope this helps<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://requesttracker.8502.n7.nabble.com/Add-Time-difference-in-search-result-tp58100p58130.html" target="_blank">http://requesttracker.8502.n7.nabble.com/Add-Time-difference-in-search-result-tp58100p58130.html</a><br>

Sent from the Request Tracker - User mailing list archive at Nabble.com.<br>
--<br>
RT Training - Boston, September 9-10<br>
<a href="http://bestpractical.com/training" target="_blank">http://bestpractical.com/training</a><br>
</blockquote></div>