[Koha-cvs] CVS: koha/opac opac-reserve.pl,1.9,1.10 opac-searchresults.pl,1.11,1.12

Finlay Thompson finlayt at users.sourceforge.net
Tue Mar 18 21:25:34 CET 2003


Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1:/tmp/cvs-serv4902

Modified Files:
	opac-reserve.pl opac-searchresults.pl 
Log Message:

fixed a couple of bugs. Note this version of opac-reserve.pl is designed to work with the vanilla template.


Index: opac-reserve.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-reserve.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** opac-reserve.pl	27 Feb 2003 16:58:30 -0000	1.9
--- opac-reserve.pl	18 Mar 2003 20:25:31 -0000	1.10
***************
*** 16,19 ****
--- 16,21 ----
  my $MAXIMUM_NUMBER_OF_RESERVES = 5;
  
+ my $MAXIMUM_NUMBER_OF_RESERVES = 10;
+ 
  my $query = new CGI;
  my ($template, $borrowernumber, $cookie) 
***************
*** 225,229 ****
  # check that you can actually make the reserve.
  
! $template->param(BIBLIOITEMS => \@data);
  
  
--- 227,231 ----
  # check that you can actually make the reserve.
  
! # $template->param(BIBLIOITEMS => \@data);
  
  

Index: opac-searchresults.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-searchresults.pl,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** opac-searchresults.pl	21 Feb 2003 02:25:04 -0000	1.11
--- opac-searchresults.pl	18 Mar 2003 20:25:31 -0000	1.12
***************
*** 70,74 ****
  if ($subjectitems) {
      #@results = subsearch($env,$subjectitems, $number_of_results, $startfrom);
!     @results = subsearch($enc, $subjectitems);
      $count = $#results+1;
  } else {
--- 70,74 ----
  if ($subjectitems) {
      #@results = subsearch($env,$subjectitems, $number_of_results, $startfrom);
!     @results = subsearch($env, $subjectitems);
      $count = $#results+1;
  } else {





More information about the Koha-cvs mailing list