[rt-users] 10 highest priority

Jason Fenner jfenner at vitamix.com
Thu Apr 19 09:30:10 EDT 2007


But where does Rows get defined at?

Patrick Turner wrote:
> I looked at that option too, but that's not the one.
> That increases the number of tickets shown on the Home page.
>
> What I meant was when you click on the "<x> highest priority tickets I
> own" used to be* customizable and would show 25/50/whatever the user
> selected.  So even though the home page is limited to 10 (by default),
> the link would take you to the larger list.
>
> I took a quick look at the code and there's this:
> share/html/Search/Results.html:
> -------------------
> # Some forms pass in "RowsPerPage" rather than "Rows"
> # We call it RowsPerPage everywhere else.
> if ( !$Rows && $ARGS{'RowsPerPage'} ) {
>     $Rows = $ARGS{'RowsPerPage'};
> }
> elsif ( !$Rows && defined $prefs->{'RowsPerPage'} ) {
>     $Rows = $prefs->{'RowsPerPage'};
> }
> else {
>     $Rows ||= 50;
> }
> -------------------
>
> If I copy the URL that gets generated when clicking on "highest
> priority", I get this:
> https://rt.marchex.com/Search/Results.html?Order=ASC%7CASC%7CASC%7CASC&Q
> uery=%20Owner%20%3D%20'270196'%20AND%20%20(%20%20Status%20%3D%20'new'%20
> OR%20Status%20%3D%20'open'%20)&Rows=10&OrderBy=id&Format='%3Ca%20href%3D
> %22%2FTicket%2FDisplay.html%3Fid%3D__id__%22%3E__id__%3C%2Fa%3E%2FTITLE%
> 3A%23'%2C%0A'%3Ca%20href%3D%22%2FTicket%2FDisplay.html%3Fid%3D__id__%22%
> 3E__Subject__%3C%2Fa%3E%2FTITLE%3ASubject'%2C%0A'__Priority__'%2C%0A'__Q
> ueueName__'%2C%0A'__ExtendedStatus__'&RowsPerPage=100
>
> Notice the RowsPerPage=100 and Rows=10.
>
> If I manually change Rows=10 to a higher value, it changes what's
> displayed, but otherwise it's limited to 10.  Which makes sense, since
> Rows trumps RowsPerPage in the code.  I guess the question is:  why can
> I not change the "Rows" definition?  Or, if it should take the last
> argument and the initial, default "Rows" is always 10, then
> "RowsPerPage" really just needs to be "Rows" and it'll work as desired. 
>
>
>
>
> *I honestly didn't use this feature much, since I try to keep my tickets
> in the 10 or less range and not have these particular issues, so I have
> to trust what my users are telling me.  :-)
>
>
> Patrick Turner
> Sysems Administrator - Corporate Operations
> Marchex, Inc.
>
> t 206.331.3492
> e pturner at marchex.com
>
>   
>> -----Original Message-----
>> From: Scott Golby [mailto:sgolby at freshdirect.com]
>> Sent: Friday, January 19, 2007 8:22 AM
>> To: Bob Goldstein; Patrick Turner
>> Cc: rt-users at lists.bestpractical.com
>> Subject: RE: [rt-users] 10 highest priority
>>
>>     
>>> Scroll to bottom.  See where it says "Rows per box" ?  Set it there.
>>>       
>> Do you mean Rows per Page ?
>>
>> I've got it set to Unlimited and it's displaying more than 10 that's
>> for
>> sure (I had 15 tickets the other day and it was fine), but it's a bit
>> odd it says 20 highest tickets in the top of the box.
>>
>> What I am having trouble with might be related, when doing a Ticket
>> Search say for a report, if I set it to Unlimited to make a big long
>> page, I get page lengths of 50 tickets and a Next link down the
>>     
> bottom.
>   
>> Not major, but it would be nice to have that work for printing
>> everything quickly.
>>
>> - Scott
>>     
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
>
>   





More information about the rt-users mailing list