[Rt-devel] Extend Display Columns on Query Builder page

Loos, Christian CLoos at netcologne.de
Wed Feb 10 08:09:37 EST 2010


Hi,

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:
<%ARGS>
@Fields => []
</%ARGS>
<%INIT>
push @Fields, qw(DaysCreatedToResolved);
return;
</%INIT>

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.

Thanks!

Chris
-- 
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 
www.netcologne.de

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


More information about the Rt-devel mailing list