[rt-users] Custom Field search - dynamically modify query string

Andy Harrison aharrison at gmail.com
Fri Jun 14 15:57:50 EDT 2013


Doh...  it would have been awful helpful if I'd mentioned I was
talking about a User custom field.

Regardless, your suggestion actually got me thinking in the right
direction anyway, so it occurred to me exactly how to make this do
what I want.  :)

Thanks!

--
Andy Harrison
public key: 0x67518262


On Wed, Jun 12, 2013 at 12:41 PM, Ruslan Zakirov <ruz at bestpractical.com> wrote:
> Hi,
>
> You can wrap _CustomFieldLimit in lib/RT/Tickets.pm, but don't forget to
> update link in %dispatch.
>
>
> On Tue, Jun 11, 2013 at 11:37 PM, Andy Harrison <aharrison at gmail.com> wrote:
>>
>> This seems rather unlikely, but I wanted to ask just in case someone
>> knows a simple way this could be done.
>>
>> I have a custom field containing mac address values and I store them
>> without the : colon characters.  Is there a simple way, (maybe a
>> callback or _Local overlay or something), where I could make it so
>> that if someone tries to search by that custom mac address field, that
>> I strip out any colons before performing the search?
>>
>> Thanks,
>>
>>
>> --
>> Andy Harrison
>> public key: 0x67518262
>>
>>
>> --
>> RT Training in Seattle, June 19-20: http://bestpractical.com/training
>
>
>
>
> --
> Best regards, Ruslan.



More information about the rt-users mailing list