[rt-users] Add Time difference in search result

Alex Peters alex at peters.net
Thu Jul 31 19:21:57 EDT 2014


The search result format string from the Advanced screen of the search
builder looks okay to me.

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.

What's the full path to the file with the "it works" line, and that file's
complete content?
On 01/08/2014 1:44 am, "AJ" <aaron.mccarthy at southwestern.ie> wrote:

> 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.
> --
> RT Training - Boston, September 9-10
> http://bestpractical.com/training
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140801/e60c65fa/attachment.htm>


More information about the rt-users mailing list