Hi,
The problem is with:
The ->rows() method returns the actual number of rows fetched, not the total number of results the query would have matched. For instance in the search logger, when you get the first page of results, ->rows() only returns 5. Since you pass this into the toolbar, it thinks there are no more results.
What it should say is:
Hits returns the actual count of rows that would have been returned if we hadn't limited the results.
I'll fix up the SearchLogger! Thanks!
Cheers,
Alex
--
Gossamer Threads Inc.
The problem is with:
Code:
my $hits = $sth->rows;What it should say is:
Code:
my $hits = $db->hits;I'll fix up the SearchLogger! Thanks!
Cheers,
Alex
--
Gossamer Threads Inc.