[rt-users] adding Take to default query
Adam Savage
Adam_Savage at skillsoft.com
Wed Sep 19 09:49:13 EDT 2007
Appreciate it - thank you!
-----Original Message-----
From: Iounes GARDON /iog .Y [mailto:iounes.gardon at mikrosimage.fr]
Sent: Wednesday, September 19, 2007 9:47 AM
To: Adam Savage
Cc: RT-Users
Subject: Re: [rt-users] adding Take to default query
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(Tak
e)__</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