(bug #3453) fix authority search in opac
authorNahuel ANGELINETTI <nahuel.angelinetti@biblibre.com>
Tue, 25 Aug 2009 23:44:30 +0000 (01:44 +0200)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 30 Sep 2009 09:30:05 +0000 (11:30 +0200)
this just set default values in opac search.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
opac/opac-authorities-home.pl

index f06965d..98f00ce 100755 (executable)
@@ -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 );