[rt-users] Sorting tickets by ID

Chance Ervin cervin at intelenet.net
Thu Apr 6 13:54:24 EDT 2006


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'?

Thank you.

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

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




More information about the rt-users mailing list