From: Paul Poulain <[email protected]>
Problems with searching authorities :
The same index was always used
---
authorities/auth_finder.pl | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/authorities/auth_finder.pl b/authorities/auth_finder.pl
index 0e4f906..89f632f 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,
--
1.6.3.3
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches