koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/acqui.simple isbnsearch.pl [rel_2_2]


From: paul poulain
Subject: [Koha-cvs] koha/acqui.simple isbnsearch.pl [rel_2_2]
Date: Thu, 05 Jan 2006 15:11:41 +0000

CVSROOT:        /cvsroot/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     paul poulain <address@hidden>   06/01/05 15:11:41

Modified files:
        acqui.simple   : isbnsearch.pl 

Log message:
        * when adding a biblio, after searching in DB and reservoir, the page 
manager in the result list was buggy (isbnsearch.pl)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/acqui.simple/isbnsearch.pl.diff?only_with_tag=rel_2_2&tr1=1.14.2.3&tr2=1.14.2.4&r1=text&r2=text

Patches:
Index: koha/acqui.simple/isbnsearch.pl
diff -u koha/acqui.simple/isbnsearch.pl:1.14.2.3 
koha/acqui.simple/isbnsearch.pl:1.14.2.4
--- koha/acqui.simple/isbnsearch.pl:1.14.2.3    Fri Mar 25 12:52:44 2005
+++ koha/acqui.simple/isbnsearch.pl     Thu Jan  5 15:11:41 2006
@@ -62,7 +62,7 @@
        my $title= @value[0];
        my $isbn = @value[1];
        my $resultsperpage= $input->param('resultsperpage');
-       $resultsperpage = 5 if(!defined $resultsperpage);
+       $resultsperpage = 10 if(!defined $resultsperpage);
        my $startfrom=$input->param('startfrom');
        $startfrom=0 if(!defined $startfrom);
        my $orderby = $input->param('orderby');
@@ -86,7 +86,7 @@
        findseealso($dbh,address@hidden);
        my ($results,$total) = catalogsearch($dbh, 
address@hidden,address@hidden,
                                                                                
address@hidden, address@hidden, address@hidden,
-                                                                               
$startfrom, $resultsperpage,'biblio.title','ASC');
+                                                                               
$startfrom*$resultsperpage, $resultsperpage,'biblio.title','ASC');
 #      @results = @$resultsref;
 
 #     my @loop_data = ();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]