[Koha-cvs] CVS: koha search.pl,1.34,1.35
Chris Cormack
rangi at users.sourceforge.net
Thu Apr 8 00:43:06 CEST 2004
Update of /cvsroot/koha/koha
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18767
Modified Files:
search.pl
Log Message:
Fix for bug 217
Index: search.pl
===================================================================
RCS file: /cvsroot/koha/koha/search.pl,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -r1.34 -r1.35
*** search.pl 11 Feb 2004 08:35:31 -0000 1.34
--- search.pl 7 Apr 2004 22:43:04 -0000 1.35
***************
*** 20,23 ****
--- 20,26 ----
# $Log$
+ # Revision 1.35 2004/04/07 22:43:04 rangi
+ # Fix for bug 217
+ #
# Revision 1.34 2004/02/11 08:35:31 tipaul
# synch'ing 2.0.0 branch and head
***************
*** 223,227 ****
}
! # Print the page
! output_html_with_http_headers $query, $cookie, $template->output;
!
--- 226,238 ----
}
! if ($search{"itemnumber"} && $count == 1){
! # if its a barcode search by definition we will only have one result.
! # And if we have a result
! # lets jump straight to the detail.pl page
! print $query->redirect("/cgi-bin/koha/detail.pl?type=intra&bib=$results[0]->{'biblionumber'}");
! }
! else {
! # otherwise
! # Print the page
! output_html_with_http_headers $query, $cookie, $template->output;
! }
More information about the Koha-cvs
mailing list