Extend Display Columns on Query Builder page


I created a new ticket column (DaysCreatedToResolved)
and want to be able to pick the new one from ‘Display Columns’
on the ‘Query Builder’ page.

I created the callback local/html/Callbacks/mycallback/Search/Elements/BuildFormatString/SetFieldsOnce
with the following code:
@Fields => []
push @Fields, qw(DaysCreatedToResolved);

But this don’t works, the new value don’t show up in the options values.

I know that the new column works because I can add it in
Advanced->Format and the column shows up on the Results page.


Christian Loos
Technik, Service Delivery, Network Documentation & Fibre Management

NETCOLOGNE Gesellschaft für Telekommunikation mbH
Am Coloneum 9 | 50829 Köln
Tel: +49-221-2222-276 | Fax: +49-221-2222-7276

Geschäftsführer: Werner Hanf, Dipl.-Ing. Karl-Heinz Zankel
HRB 25580, AG Köln