[rt-users] number tickets returned by a search?

Grant Miller grant at pico.apple.com
Fri Oct 4 16:57:17 EDT 2002


I'm trying to put a little text into Search/Listing.html to tell the user
how many tickets were returned in the search they just ran.

I have this:
Number of tickets returned in search: 
<%$session{'tickets'}->Count()%>

But that's not really useful.  If you ran a search that brings back
100 tickets and you have your $session{'tickets_rows_per_page'} set at 
25, $session{'tickets'}->Count() will say 25.  I want to get the total
number of tickets in a search, not just the ones displayed on the 
page at the moment.


Thanks in advance, 

-- 

-Grant Miller    grant at pico.apple.com      Apple Computer

 Unix Systems Admin, Engineering Computer Services



More information about the rt-users mailing list