No __TimeLeft__ value in search result

Hello,

I set my custom search format in RT_SiteConfig like this:

This is the time values for the ticket:
Created: Tue Feb 18 13:28:25 2014
Starts: Tue Feb 18 13:28:25 2014
Started: Tue Feb 18 13:28:25 2014
Last Contact: Tue Feb 18 13:30:25 2014
Due: Wed Feb 19 00:00:00 2014

Still, the TimeLeft field is always blank. What is the problem?

View this message in context: http://requesttracker.8502.n7.nabble.com/No-TimeLeft-value-in-search-result-tp56683.html

This is the time values for the ticket:
Created: Tue Feb 18 13:28:25 2014
Starts: Tue Feb 18 13:28:25 2014
Started: Tue Feb 18 13:28:25 2014
Last Contact: Tue Feb 18 13:30:25 2014
Due: Wed Feb 19 00:00:00 2014

Still, the TimeLeft field is always blank. What is the problem?

“TimeLeft” is not a computed value between starts and due. It is a
count of your estimate of the minutes/hours of work remaining on the
ticket, which can be updated from the “Basics” page of the ticket.

  • Alex

Is it possible to calculate the fields format fields?

2014-02-18 19:48, Alex Vandiver rašė:> On Tue, 2014-02-18 at 04:10 -0800, andkulb wrote:

This is the time values for the ticket:
Created: Tue Feb 18 13:28:25 2014
Starts: Tue Feb 18 13:28:25 2014
Started: Tue Feb 18 13:28:25 2014
Last Contact: Tue Feb 18 13:30:25 2014
Due: Wed Feb 19 00:00:00 2014

Still, the TimeLeft field is always blank. What is the problem?
“TimeLeft” is not a computed value between starts and due. It is a
count of your estimate of the minutes/hours of work remaining on the
ticket, which can be updated from the “Basics” page of the ticket.

  • Alex

2014-02-18 19:48, Alex Vandiver rašė:

This is the time values for the ticket:
Created: Tue Feb 18 13:28:25 2014
Starts: Tue Feb 18 13:28:25 2014
Started: Tue Feb 18 13:28:25 2014
Last Contact: Tue Feb 18 13:30:25 2014
Due: Wed Feb 19 00:00:00 2014

Still, the TimeLeft field is always blank. What is the problem?
“TimeLeft” is not a computed value between starts and due. It is a
count of your estimate of the minutes/hours of work remaining on the
ticket, which can be updated from the “Basics” page of the ticket.

Is it possible to calculate the fields format fields?

Anything is possible. There are callbacks in RT__Ticket/ColumnMap
that allow you to either override TimeLeft to calculate things or
to add your own new code that does date math.

-kevin