Gossamer Forum
Quote Reply
PugDod Searchlogger Bug
Hi

Isn't the plugin supposed to display a page toolbar (i.e. page 1 2 3 >>) when there are more search terms than 25?
I get only 25 logged items displayed - no possibility to look at the following pages...




I have tried changing:

my $hits = $sth->rows;

To

my $hits = $db->total;



and it does not work.
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory

Last edited by:

katabd: Jan 10, 2002, 5:05 AM
Quote Reply
Re: [katabd] PugDod Searchlogger Bug In reply to
I'll take a look, but there was a bug in the original code, and I might not have addressed it, actually.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [katabd] PugDog Searchlogger Bug In reply to
Hi,

Quote:
I have tried changing:

my $hits = $sth->rows;

To

my $hits = $db->total;

That should do it for sub view (about line 42 in Pugdog's SearchLogger.pm) which shows all keywords searched for.

To get the page toolbar for the 'View Daily Logs' you need to change a line in sub view_daily (about line 111):

Code:
change
my $hits = $sth->rows;

to

my $hits = $db_daily->total;

Andreas
-------------------------------------------------
http://www.archaeologie-online.de