[Koha-cvs] koha/authorities auth_finder.pl authorities-hom... [rel_3_0]

Henri-Damien LAURENT laurenthdl at alinto.com
Fri Feb 9 18:20:10 CET 2007


CVSROOT:	/cvsroot/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Henri-Damien LAURENT <hdl>	07/02/09 17:20:10

Modified files:
	authorities    : auth_finder.pl authorities-home.pl 

Log message:
	BUG FIXING  : authoritysearch signature was modified in order not to need $dbh.
	Correcting Bug.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/authorities/auth_finder.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.11.2.5&r2=1.11.2.6
http://cvs.savannah.gnu.org/viewcvs/koha/authorities/authorities-home.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.14.2.4&r2=1.14.2.5

Patches:
Index: auth_finder.pl
===================================================================
RCS file: /cvsroot/koha/koha/authorities/auth_finder.pl,v
retrieving revision 1.11.2.5
retrieving revision 1.11.2.6
diff -u -b -r1.11.2.5 -r1.11.2.6
--- auth_finder.pl	24 Jan 2007 15:13:27 -0000	1.11.2.5
+++ auth_finder.pl	9 Feb 2007 17:20:10 -0000	1.11.2.6
@@ -64,7 +64,7 @@
     $resultsperpage= $query->param('resultsperpage');
     $resultsperpage = 19 if(!defined $resultsperpage);
 
-    my ($results,$total) = authoritysearch($dbh, \@marclist,\@and_or,
+    my ($results,$total) = authoritysearch(\@marclist,\@and_or,
                                         \@excluding, \@operator, \@value,
                                         $startfrom*$resultsperpage, $resultsperpage,$authtypecode);# $orderby);
 

Index: authorities-home.pl
===================================================================
RCS file: /cvsroot/koha/koha/authorities/authorities-home.pl,v
retrieving revision 1.14.2.4
retrieving revision 1.14.2.5
diff -u -b -r1.14.2.4 -r1.14.2.5
--- authorities-home.pl	2 Feb 2007 18:07:42 -0000	1.14.2.4
+++ authorities-home.pl	9 Feb 2007 17:20:10 -0000	1.14.2.5
@@ -63,7 +63,6 @@
     my $resultsperpage = $query->param('resultsperpage') || 19;
 
 	my ($results,$total) = authoritysearch(
-        $dbh,
         \@marclist,
         \@and_or,
         \@excluding,





More information about the Koha-cvs mailing list