[rt-users] Adding a "predefined search" field

Kevin Falcone falcone at bestpractical.com
Fri May 20 14:08:46 EDT 2011


On Fri, May 20, 2011 at 12:36:41PM -0500, Francis L Fabrizio wrote:
> I just installed RTx::Tags to get the enhanced simple search custom field functionality without having to patch code.  Thanks for the suggestion!
> 
> Works great except RTx::Tags seems to have broken my layout in the upper right of the page.  See the attached image - the New Ticket queue dropdown got moved under the Search button for some reason.  (This is RT 3.8.8 / Firefox 3.6.17 / 64-bit Win7.)

RTx-Tags is a 3rd party extension, so you may need to report the bug
to the rt.cpan queue if the author doesn't reply on-list.

https://rt.cpan.org/Public/Dist/Display.html?Queue=RTx-Tags

-kevin

> > -----Original Message-----
> > From: ruslan.zakirov at gmail.com [mailto:ruslan.zakirov at gmail.com] On
> > Behalf Of Ruslan Zakirov
> > Sent: Friday, May 20, 2011 9:47 AM
> > To: Francis L Fabrizio
> > Cc: rt-users at lists.bestpractical.com
> > Subject: Re: [rt-users] Adding a "predefined search" field
> > 
> > On Fri, May 20, 2011 at 6:22 PM, Francis L Fabrizio <fabrizio at uab.edu> wrote:
> > > There’s a particular search we do constantly against our custom field “PO
> > > Number”.  Since the custom field is only applied to certain queues, building
> > > the search is a two-step process of first adding the “Queue is XYZ” search
> > > term which then gives us visibility to add the PO Number search term.
> > >
> > >
> > >
> > > It’s not uncommon to need to do 20 or 30 such searches in rapid
> > succession.
> > > This gets tedious because you have to Edit Search, delete the old value,
> > add
> > > the new value, and repeat 30 times.
> > >
> > >
> > >
> > > What I’d really like is a search field in the upper bar (separate from the
> > > existing one) which automatically does a “search queue XYZ for tickets with
> > > PO Number value of <whatever is input in the field>” search.  That would
> > > avoid all of these tedious steps.
> > >
> > >
> > >
> > > What’s the best way to go about adding such functionality to our RT 3.8
> > > interface?
> > 
> > 
> > One way:
> > http://requesttracker.wikia.com/wiki/SearchCustomField
> > 
> > This solution shows how to enable the following syntax in the search input
> > box:
> > 
> > cf.xxx:value
> > 
> > You just should adjust it a little and your users can type:
> > 
> > po:123
> > 
> > and perform the search.
> > 
> > > --
> > >
> > > Fran Fabrizio
> > >
> > > Director of Information Systems
> > >
> > > UAB College of Arts and Sciences
> > >
> > > http://www.uab.edu/cas/
> > >
> > > HHB510E | 205.996.5698 | fabrizio at uab.edu
> > >
> > >
> > 
> > 
> > 
> > --
> > Best regards, Ruslan.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110520/c8950522/attachment.sig>


More information about the rt-users mailing list