I believe that you need to use "Reopened" in your search and the BuildFormatString/Default callback, not "DifferenceReopenedTime" as you currently have.
# $RT_ROOT/local/html/Callbacks/MyRT/Search/Elements/BuildFormatString/Default <%INIT> push @{$Fields}, 'Reopened'; </%INIT> <%ARGS> $Fields => undef </%ARGS> On 1 August 2014 17:55, AJ <aaron.mccar...@southwestern.ie> wrote: > Hi Alex, > > The location path is > /html/Callbacks/MyRT/Elements/RT__Ticket/ColumnMap/Once > > In the "Once" file I have contains this: > > <%init> > $COLUMN_MAP->{DifferenceReopenedTime} = { > title => 'Reopened', # loc > attribute => 'Reopened', > value => sub { > return 'THIS WORKS'; > } > }; > </%init> > <%args> > $COLUMN_MAP > </%args> > > > > > -- > View this message in context: > http://requesttracker.8502.n7.nabble.com/Add-Time-difference-in-search-result-tp58100p58141.html > Sent from the Request Tracker - User mailing list archive at Nabble.com. > -- > RT Training - Boston, September 9-10 > http://bestpractical.com/training >
-- RT Training - Boston, September 9-10 http://bestpractical.com/training