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 b1674f1..169e9dd 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

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to