[rt-users] <Blank> in default preference / search options ?

Ruslan Zakirov ruz at bestpractical.com
Mon May 30 14:26:18 EDT 2011


On Mon, May 30, 2011 at 10:03 PM, Daniel Schwager
<Daniel.Schwager at dtnet.de> wrote:
>> Default formats can be set in the config.
>
> I would like to give the user the possibility
> to add a <BLANK> to this user default search,
> so the new BLANK should appear in the selection
> box
>
>        Search Preferences / Search options  / Display Columns / "Add Columns:"
>
> I found the available elements setup in
>        share/html/Search/Elements/BuildFormatString
>
> Is this the right place ?

Yes.

Also, try NBSP (like NEWLINE). It should work similar or exactly like
what you want.


>
> My DefaultSearchResultFormat looks like:
>
> Set ($DefaultSearchResultFormat, qq{
>   '<B><A HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#',
>   '<B><A HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__Subject__</a></B>/TITLE:Subject',
>   Status,
>   QueueName,
>   OwnerName,
>   Priority,
>   QuickDelete,
>   '__NEWLINE__',
>   '',
>   '<small>__Requestors__</small>',
>   '<small>__CreatedRelative__</small>',
>   '<small>__ToldRelative__</small>',
>   '<small>__LastUpdatedRelative__</small>',
>   '<small>__TimeLeft__</small>'});
>
>
> regards
> Danny
>
>



-- 
Best regards, Ruslan.



More information about the rt-users mailing list