[rt-users] Ticket Search: Total tickets found not what is displayed in details
Paul Barmaksezian
Paul.Barmaksezian at Overture.com
Wed Apr 21 17:37:28 EDT 2004
Running RT 3.0.9. on the Ticket Search page, there are times where the Title will say, for example, "Found 6 tickets" but the details only show 5 or 4 tickets.
I have noticed this happens when tickets are merged - it seems like the total count includes the merged ticket, but the details (the ticket listings) does not show it. I'm guessing the total should not count the merged ticket either.
I'm not sure what other situation can cause this. I've been browsing the Listing.html file - there is some code below that gets the ticket count, but I'm not sure how to fix this. Any help?
ProcessSearchQuery(ARGS=>\%ARGS);
$session{'tickets'}->RedoSearch();
if ( $session{'tickets'}->DescribeRestrictions()) {
$ticketcount = $session{tickets}->CountAll();
$title = loc('Found [quant,_1,ticket]', $ticketcount);
} else {
$title = loc("Find tickets");
}
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20040421/746929c6/attachment.htm>
More information about the rt-users
mailing list