[rt-users] sorting based on custom fields

Ruslan U. Zakirov Ruslan.Zakirov at miet.ru
Thu Jul 7 09:11:05 EDT 2005


Pieter van der Spek wrote:
> On 07/05/2005 02:28 PM, Pieter van der Spek wrote:
> 
>>I've added the following to RT_SiteConfig.pm:
>>------------------------------------------------
>># Default columns in ticket list
>>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,
>>   CF.{Category},
>>   '__NEWLINE__',
>>   '',
>>   '<small>__Requestors__</small>',
>>   '<small>__CreatedRelative__</small>',
>>   '<small>__ToldRelative__</small>',
>>   '<small>__LastUpdatedRelative__</small>',
>>   '<small>__TimeLeft__</small>',
>>   CF.{Severity}});
>>------------------------------------------------
>>
>>As you can see I've added two custom fields. As expected they show up in the
>>table. However, they're not clickable (i.e. I cannot sort the table based on the
>>values of these custom fields). Is it possible to tweak RT in such a way that I
>>can sort on custom fields in the search results table?
>>
>>
> 
> Is there no way to this? As I did not get any answers I'm guessing there isn't,
> or is there?
> 
There is one - hack RT and submit patch for mainline :)



More information about the rt-users mailing list