falcone at bestpractical
Aug 7, 2012, 3:29 PM
Post #4 of 4
On Fri, Aug 03, 2012 at 01:37:07PM -0500, Josh Hopkins wrote:
> On Thu, Aug 02, 2012 at 11:20:31AM -0500, Josh Hopkins wrote:
> > > Is there somewhere to change the default format of the quick search for all users?
> >Do you mean the Simple Search in the upper right corner of RT which
> >you could change with the DefaultSearchResultFormat config option or
> >do you mean the Queue/ticket listing on the homepage? You'd need to
> >tell us about what you want to change.
> I am using RT 4.06. I did find a few ways to edit the build in
> searches by trying to edit them and then clicking on the link above
> that would say something like edit original search "search name". But
> I am mostly trying to change the look of the results that come back
> from the quick search widget that is located on the right by default.
> Where do I find the DefaultSearchResultsFormat config option?
DefaultSearchResultsFormat is defined and documents in RT_Config.pm,
you make local modifications to it in RT_SiteConfig.pm. You can
easily add the format below to it. It will affect the default for all
new searches. Clearing user formats would require database level
cleanups, and unfortunately DefaultSearchResultsFormat does not affect
> What are are trying to have would be something like?
> ' <b><a href="__WebPath__/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#',
> '<b><a href="__WebPath__/Ticket/Display.html?id=__id__">__Subject__</a></b>/TITLE:Subject',
> Does the DefaultSearchResultsFormat config options also contain the default sort options? Is there also a way to remove user customizations that have been made to the formatting to see the new formatting? Thanks,