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

Ham MI-ID, Torsten Brumm torsten.brumm at Kuehne-Nagel.com
Thu Apr 5 20:24:30 EDT 2007


Hi firas,

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.

Torsten

-----Original Message-----
From: rt-devel-bounces at lists.bestpractical.com <rt-devel-bounces at lists.bestpractical.com>
To: rt-devel at lists.bestpractical.com <rt-devel at lists.bestpractical.com>
Sent: Thu Apr 05 19:56:10 2007
Subject: [Rt-devel] Number of rows in RT3.6.3

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(Take)__</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/20070406/e3c307ce/attachment.htm


More information about the Rt-devel mailing list