[rt-users] adding Take to default query

Iounes GARDON /iog .Y iounes.gardon at mikrosimage.fr
Wed Sep 19 09:46:40 EDT 2007


Hi Adam,

Thank you for having detailled a little more your needs...

The query 'Search - Unowned Tickets' is stored in the database.
The script who insert it (at RT installation) is <RT PATH>/etc/initialdata.

    { Name => 'Search - Unowned Tickets',
      Description => '[_1] newest unowned tickets', # loc
      Content     =>
# 'Take' #loc
      { Format => "'<a
href=\"__WebPath__/Ticket/Display.html?id=__id__\">__id__</a>/TITLE:#',
'<a
href=\"__WebPath__/Ticket/Display.html?id=__id__\">__Subject__</a>/TITLE:Subject',
QueueName, ExtendedSta
tus, CreatedRelative, '<A
HREF=\"__WebPath__/Ticket/Display.html?Action=Take&id=__id__\">__loc(Take)__</a>/TITLE: '
",
        Query   => " Owner = 'Nobody' AND ( Status = 'new' OR Status =
'open')",
        OrderBy => 'Created',
        Order   => 'DESC' },
    },

Good Luck.

--
Iounes GARDON




More information about the rt-users mailing list