[Koha-cvs] koha/acqui.simple isbnsearch.pl [rel_2_2]
paul poulain
paul at koha-fr.org
Thu Jan 5 16:11:41 CET 2006
CVSROOT: /cvsroot/koha
Module name: koha
Branch: rel_2_2
Changes by: paul poulain <tipaul at savannah.gnu.org> 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,\@tags);
my ($results,$total) = catalogsearch($dbh, \@tags,\@and_or,
\@excluding, \@operator, \@value,
- $startfrom, $resultsperpage,'biblio.title','ASC');
+ $startfrom*$resultsperpage, $resultsperpage,'biblio.title','ASC');
# @results = @$resultsref;
# my @loop_data = ();
More information about the Koha-cvs
mailing list