[rt-users] default format of quick search
Kevin Falcone
falcone at bestpractical.com
Tue Aug 7 18:29:50 EDT 2012
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.
>
> -----End--Original--Message-----
>
> 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
the sorting.
> What are are trying to have would be something like?
>
> ' <b><a href="__WebPath__/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#',
> '__CustomField.{ClientOrganization}__',
> '__Status__',
> '<b><a href="__WebPath__/Ticket/Display.html?id=__id__">__Subject__</a></b>/TITLE:Subject',
> '__QueueName__',
> '__TimeWorked__',
> '__LastUpdatedBy__',
> '__NEWLINE__',
> '',
> '__Requestors__',
> '__OwnerName__',
> '__NBSP__',
> '<small>__CreatedRelative__</small>',
> '__CustomField.{TimeWorkedOverride}__',
> '<small>__LastUpdatedRelative__</small>'
>
> 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,
-------------- 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/20120807/e641cf94/attachment.sig>
More information about the rt-users
mailing list