[rt-users] Simple mathematic operations on search results
Anthony Leong
anthonyl at yorku.ca
Wed Mar 30 11:42:56 EST 2005
Greetings,
I suggest that you take a look at
http://wiki.bestpractical.com/index.cgi?EditCustomFieldsOnUpdate . It
utilizes callback. This method requires you to create a customfield
called new_field3(as indicated in your email).
Look closely at the 'BeforeDisplay' portion of it because you may want
to do your things there. 'BeforeDisplay' is called with the arguments
TicketObj, Tickets and ARGSRef.
Anthony
On Wed, 30 Mar 2005, Mattias Nordstrom wrote:
> Hi,
>
> I'd like to do simple mathematic operations on the results page of a
> search. The operation would be e.g. field1 + field2 = new_field3. Has
> anyone done something like this before? If this is not possible, can it be
> easily done using custom fields and a scrip? Any examples would be appreciated!
>
> Thanks.
>
> --
> Mattias Nordstrom
> CTO
> Oy Realnode Ab
>
> nordstrom at realnode.com
> www.realnode.com
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> RT Administrator and Developer training is coming to your town soon! (Boston, San Francisco, Austin, Sydney) Contact training at bestpractical.com for details.
>
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>
More information about the rt-users
mailing list