[Koha-patches] [PATCH] (bug #3453) fix authority search in opac

Henri-Damien LAURENT henridamien.laurent at biblibre.com
Wed Aug 26 01:44:30 CEST 2009


From: Nahuel ANGELINETTI <nahuel.angelinetti at biblibre.com>

this just set default values in opac search.
---
 opac/opac-authorities-home.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opac/opac-authorities-home.pl b/opac/opac-authorities-home.pl
index f06965d..98f00ce 100755
--- a/opac/opac-authorities-home.pl
+++ b/opac/opac-authorities-home.pl
@@ -61,7 +61,7 @@ if ( $op eq "do_search" ) {
     my @excluding = ($query->param('excludinga'),$query->param('excludingb'),$query->param('excludingc'),);
     my @operator = ($query->param('operatora'),$query->param('operatorb'),$query->param('operatorc'));
     my $orderby = $query->param('orderby');
-    my @value = ($query->param('valuea'),$query->param('valueb'),$query->param('valuec'),);
+    my @value = ($query->param('valuea') || "",$query->param('valueb') || "",$query->param('valuec') || "",);
 
     $resultsperpage = $query->param('resultsperpage');
     $resultsperpage = 20 if ( !defined $resultsperpage );
-- 
1.6.0.4




More information about the Koha-patches mailing list