[Koha-cvs] CVS: koha/opac opac-search.pl,1.26,1.27

gavin gmccullagh at users.sourceforge.net
Thu Jun 2 15:47:49 CEST 2005


Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8814

Modified Files:
	opac-search.pl 
Log Message:
just declared $totalResults and added an indent at the end


Index: opac-search.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-search.pl,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** opac-search.pl	2 Jun 2005 13:29:28 -0000	1.26
--- opac-search.pl	2 Jun 2005 13:47:47 -0000	1.27
***************
*** 23,26 ****
--- 23,29 ----
  my $subcategorylist;
  my $mediatypelist;
+ # added by Gavin 
+ my $totalresults;
+ 
  my $dbh=C4::Context->dbh;
  my $sth=$dbh->prepare("select description,itemtype from itemtypes order by description");
***************
*** 181,186 ****
  #      how this is done
  # 4.
! # 
  $totalresults = $total;
  ## This formats the 'search results' string and populates
  ## the 'OPLIN' variable as well as the 'spellcheck' variable
--- 184,190 ----
  #      how this is done
  # 4.
!  
  $totalresults = $total;
+ 
  ## This formats the 'search results' string and populates
  ## the 'OPLIN' variable as well as the 'spellcheck' variable
***************
*** 408,411 ****
  }
  else {
! output_html_with_http_headers $query, $cookie, $template->output;
  }
--- 412,415 ----
  }
  else {
!   output_html_with_http_headers $query, $cookie, $template->output;
  }





More information about the Koha-cvs mailing list