[Koha-cvs] koha/opac opac-search.pl [rel_3_0]

Antoine Farnault antoine at koha-fr.org
Fri Dec 15 09:38:58 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Antoine Farnault <toins>	06/12/15 08:38:58

Modified files:
	opac           : opac-search.pl 

Log message:
	fix a wrong systempref name.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-search.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.38.2.9&r2=1.38.2.10

Patches:
Index: opac-search.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-search.pl,v
retrieving revision 1.38.2.9
retrieving revision 1.38.2.10
diff -u -b -r1.38.2.9 -r1.38.2.10
--- opac-search.pl	14 Dec 2006 15:41:54 -0000	1.38.2.9
+++ opac-search.pl	15 Dec 2006 08:38:57 -0000	1.38.2.10
@@ -3,7 +3,7 @@
 # Script to perform searching
 # For documentation try 'perldoc /path/to/search'
 #
-# $Header: /sources/koha/koha/opac/opac-search.pl,v 1.38.2.9 2006/12/14 15:41:54 toins Exp $
+# $Header: /sources/koha/koha/opac/opac-search.pl,v 1.38.2.10 2006/12/15 08:38:57 toins Exp $
 #
 # Copyright 2006 LibLime
 #
@@ -165,7 +165,7 @@
 # decide which template to use
 my $template_name;
 my @params = $cgi->param("limit");
-if ( ( @params > 0 ) || ( $cgi->param("q") ) ) {
+if ( ( @params > 1 ) || ( $cgi->param("q") ) ) {
 
     $template_name = 'opac-results.tmpl';
 }
@@ -557,7 +557,7 @@
     opaclayoutstylesheet => C4::Context->preference("opaclayoutstylesheet"),
     opaccolorstylesheet  => C4::Context->preference("opaccolorstylesheet"),
     "BiblioDefaultView"
-      . C4::Context->preference("IntranetBiblioDefaultView") => 1,
+      . C4::Context->preference("BiblioDefaultView") => 1,
     scan_use     => $scan,
     search_error => $error,
 );





More information about the Koha-cvs mailing list