[rt-users] Sorting tickets by ID

Chance Ervin cervin at intelenet.net
Thu Apr 20 12:42:59 EDT 2006


I asked about this a couple weeks ago, but didn't see any responses.
So, I thought I would try again. 

Chance Ervin
Intelenet Communications Inc.
OCP, SCSA, MCP
Systems Engineer

-----Original Message-----
From: Chance Ervin 
Sent: Thursday, April 06, 2006 10:54 AM
To: 'rt-users at lists.bestpractical.com'
Subject: Sorting tickets by ID

We are looking to set our rt homepage to show tickets by id --> desc.

We think we found the right file at :
/opt/rt3/local/html/Elements/MyTickets

This shows the following content:

<& /Elements/TicketList, 
        Format => "'<a
href=\"$RT::WebPath/Ticket/Display.html?id=__id__\">__id__</a>/TITLE:#',
'<a
href=\"$RT::WebPath/Ticket/Display.html?id=__id__\">__Subject__</a>/TITL
E:Subject', Priority, QueueName, ExtendedStatus",

        Query => $Query,
        OrderBy => 'Status',
        Order => 'DESC',
#        Order => 'ASC',
        Rows => $rows,
        ShowNavigation => 0
        &>
</&>

We changed OrderBy => 'Status', to OrderBy => 'id', but didn't see the
sort results we thought we would. Do we need to use a different keyword
than 'id'? Or are we looking at the wrong file altogether?

Thank you.

Chance Ervin
Intelenet Communications Inc.
OCP, SCSA, MCP
Systems Engineer

--------------------------------------------------------------------




More information about the rt-users mailing list