<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.28">
<TITLE>AW: [Rt-devel] Number of rows in RT3.6.3</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hi firas,<BR>
<BR>
This is a value you can set per user under rt at a gance prefs or if I remember correct under configuration-global or similar.<BR>
<BR>
Torsten<BR>
<BR>
-----Original Message-----<BR>
From: rt-devel-bounces@lists.bestpractical.com <rt-devel-bounces@lists.bestpractical.com><BR>
To: rt-devel@lists.bestpractical.com <rt-devel@lists.bestpractical.com><BR>
Sent: Thu Apr 05 19:56:10 2007<BR>
Subject: [Rt-devel] Number of rows in RT3.6.3<BR>
<BR>
Hi,<BR>
<BR>
<BR>
<BR>
I would like to take some of your time to inquire about the following matter: I am using RT 3.6.3 and I would like to know what sets the number of rows to be displayed in the tickets to be 10. In RT.3.2.1, it was variable that was located in RT_Config.pm. But, when I look at “initialdata” in /etc, I see that there is a predefined search as follows:<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
@Attributes = (<BR>
<BR>
{ Name => 'Search - My Tickets',<BR>
<BR>
Description => '[_1] highest priority tickets I own', # loc<BR>
<BR>
Content =><BR>
<BR>
{ Format => "'<a href=\"__WebPath__/Ticket/Display.html?id=__id__\">__id__</a>/TITLE:#', '<a href=\"__WebPath__/Ticket/Display.html?id=__id__\">__Subject__</a>/TITLE:Subject', Priority, QueueName, ExtendedStatus",<BR>
<BR>
Query => " Owner = '__CurrentUser__' AND ( Status = 'new' OR Status = 'open')",<BR>
<BR>
OrderBy => 'Priority',<BR>
<BR>
Order => 'DESC' },<BR>
<BR>
},<BR>
<BR>
{ Name => 'Search - Unowned Tickets',<BR>
<BR>
Description => '[_1] newest unowned tickets', # loc<BR>
<BR>
Content =><BR>
<BR>
# 'Take' #loc<BR>
<BR>
{ 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, ExtendedStatus, CreatedRelative, '<A HREF=\"__WebPath__/Ticket/Display.html?Action=Take&id=__id__\">__loc(Take)__</a>/TITLE:&nbsp;' ",<BR>
<BR>
Query => " Owner = 'Nobody' AND ( Status = 'new' OR Status = 'open')",<BR>
<BR>
OrderBy => 'Created',<BR>
<BR>
Order => 'DESC' },<BR>
<BR>
<BR>
<BR>
My question is what defines the number of rows in ‘[_1] newest unowned tickets’? Where does the [_1] gets its value from? And, I am a bit new to perl, but what does [_1] stand for?<BR>
<BR>
Thanks for the help<BR>
<BR>
<BR>
Firas<BR>
<BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>