From 8f56c04998e8dc5820e212d7689fc1b237836a88 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Sat, 1 May 2010 00:19:44 +0200 Subject: [PATCH] MT3448 : searchauthorities problems Problems with searching authorities : The same index was always used Signed-off-by: Galen Charlton --- authorities/auth_finder.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/authorities/auth_finder.pl b/authorities/auth_finder.pl index 0e4f90617f..89f632fb65 100755 --- a/authorities/auth_finder.pl +++ b/authorities/auth_finder.pl @@ -60,7 +60,7 @@ if ( $op eq "do_search" ) { my @and_or = $query->param('and_or'); my @excluding = $query->param('excluding'); my @operator = $query->param('operator'); - my @value = ($query->param('value_mainstr'), $query->param('value_main'), $query->param('value_any')); + my @value = ($query->param('value_mainstr')||undef, $query->param('value_main')||undef, $query->param('value_any')||undef); my $orderby = $query->param('orderby'); $resultsperpage = $query->param('resultsperpage'); @@ -166,6 +166,9 @@ if ( $op eq "do_search" ) { } $template->param( + value_mainstr => $query->param('value_mainstr') || "", + value_main => $query->param('value_main') || "", + value_any => $query->param('value_any') || "", tagid => $tagid, index => $index, authtypesloop => \@authtypesloop, -- 2.39.5