[Rt-devel] Number of rows in RT3.6.3

Firas Batal (QA/EMC) firas.batal at ericsson.com
Thu Apr 5 13:56:10 EDT 2007


Hi,

 

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:

 

 

@Attributes = (

    { Name => 'Search - My Tickets',

      Description => '[_1] highest priority tickets I own', # loc

      Content     =>

      { 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",

        Query   => " Owner = '__CurrentUser__' AND ( Status = 'new' OR
Status = 'open')",

        OrderBy => 'Priority',

        Order   => 'DESC' },

    },

    { 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, ExtendedStatus, CreatedRelative, '<A
HREF=\"__WebPath__/Ticket/Display.html?Action=Take&id=__id__\">__loc(Tak
e)__</a>/TITLE:&nbsp;' ",

        Query   => " Owner = 'Nobody' AND ( Status = 'new' OR Status =
'open')",

        OrderBy => 'Created',

        Order   => 'DESC' },

 

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?

Thanks for the help


Firas 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bestpractical.com/pipermail/rt-devel/attachments/20070405/20892696/attachment.htm


More information about the Rt-devel mailing list