On Fri, Aug 19, 2011 at 03:13:23PM +0200, Lars Braeuer wrote: > the default search form on every page only allows to search through standard > fields, but not through > custom fields. > > Is there any way, like hacking an (sql) query, to include just one custom > field with the standard > search? > > I.e. we are tracking the customer ID in one of these fields. We would like to > include it in the > standard search, without having to use the advanced search feature, which > takes time. It's also not > applicable to setup saved searches, as we want to remain totally dynamic.
I'm assuming that you're on RT4 since you didn't specify, this code changed dramatically between 3.8 and 4. You probably want to override HandleSubject to search Subject and the CF, or add your own item to @GUESS in lib/RT/Search/Googleish.pm -kevin
pgpvFNo8SKWuw.pgp
Description: PGP signature
-------- RT Training Sessions (http://bestpractical.com/services/training.html) * Chicago, IL, USA September 26 & 27, 2011 * San Francisco, CA, USA October 18 & 19, 2011 * Washington DC, USA October 31 & November 1, 2011 * Melbourne VIC, Australia November 28 & 29, 2011 * Barcelona, Spain November 28 & 29, 2011
