[rt-devel] LookupType of Users CF
Emmanuel Manganneau
emanganneau at easter-eggs.com
Wed May 20 08:22:15 EDT 2015
Hi,
new to RT, I had to write a scrip which was to compare the values of
ticket CFs with users CFs (the CC group of the ticket being filled with
the people having the same values of the same Cfs).
But doing LimitCustomField on a user could lead to load the wrong CF (ie
the ticket one, not the user one). So I decided to :
- write a LimitCustomField for Users.pm,
- write a methode LimitCustomFields for Users.pm, to do as many
LimitCustomField as needed.
I dont know if this hack will suit the requirements of RT's code : so
please be gentle :-)
--
Easter-eggs Spécialiste GNU/Linux
44-46 rue de l'Ouest - 75014 Paris - France - Métro Gaité
Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76
emanganneau at easter-eggs.com - http://www.easter-eggs.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Force-lookuptype-to-RT-User-when-doing-a-LimitCustom.patch
Type: text/x-patch
Size: 2980 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-devel/attachments/20150520/12ee3ee2/attachment.bin>
More information about the rt-devel
mailing list