[rt-users] Help with query and display

Dave Kettmann dkettmann at netlogic.net
Wed Jan 11 12:19:26 EST 2006


Hi all,

I'm trying to get a custom query to display on the main page of RT. Here
is the contents of the file ...

--<code>--

<&|/Elements/TitleBox,
        title => loc('Pending Service Calls'),
        title_href => "Search/Results.html".$QueryString &>
<& /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',  __ExtendedStatus__, __DueRelative__, __Owner__",

        Query => $Query,
        OrderBy => 'id',
        Order => 'ASC',
        ShowNavigation => 0
        &>
</&>
<%init>

my $Query = " Status = 'service' ";

my $QueryString = '?' . $m->comp('/Elements/QueryString',
            Query => $Query,
            Order => 'ASC',
            OrderBy => 'id') if ($Query);

</%init>

--</code>--

All of the data displays except the Owner. I think I am just not
referencing it by the right name. Any help is greatly appreciated...

Also, is there anywhere that I can find all of the possibilities for
fields in a custom search?

Thanks,

Dave Kettmann
NetLogic
314-266-4000






More information about the rt-users mailing list