X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=authorities%2Fauth_finder.pl;h=a3821ee74a739351f65da081744c6ed6e99dd49e;hb=66350848b68e64af64bc0778b8ea0ac5ef115381;hp=99ac2c170ecbfc9c250cd825e4f7b7b9a770b854;hpb=a8222aeeb1169d7b1939d1e64c319a16e3846e8c;p=koha.git diff --git a/authorities/auth_finder.pl b/authorities/auth_finder.pl index 99ac2c170e..a3821ee74a 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')||undef, $query->param('value_main')||undef, $query->param('value_any')||undef); + my @value = ($query->param('value_mainstr')||undef, $query->param('value_main')||undef, $query->param('value_any')||undef, $query->param('value_match')||undef); my $orderby = $query->param('orderby'); $resultsperpage = $query->param('resultsperpage'); @@ -106,6 +106,7 @@ if ( $op eq "do_search" ) { push @field_data, { term => "value_mainstr", val => $query->param('value_mainstr') || "" }; push @field_data, { term => "value_main", val => $query->param('value_main') || "" }; push @field_data, { term => "value_any", val => $query->param('value_any') || ""}; + push @field_data, { term => "value_match", val => $query->param('value_match') || ""}; my @numbers = (); @@ -136,7 +137,7 @@ if ( $op eq "do_search" ) { } ( $template, $loggedinuser, $cookie ) = get_template_and_user( { - template_name => "authorities/searchresultlist-auth.tmpl", + template_name => "authorities/searchresultlist-auth.tt", query => $query, type => 'intranet', authnotrequired => 0, @@ -162,11 +163,12 @@ if ( $op eq "do_search" ) { value_mainstr => $query->param('value_mainstr') || "", value_main => $query->param('value_main') || "", value_any => $query->param('value_any') || "", + value_match => $query->param('value_match') || "", ); } else { ( $template, $loggedinuser, $cookie ) = get_template_and_user( { - template_name => "authorities/auth_finder.tmpl", + template_name => "authorities/auth_finder.tt", query => $query, type => 'intranet', authnotrequired => 0, @@ -183,13 +185,11 @@ $template->param( value_mainstr => $query->param('value_mainstr') || "", value_main => $query->param('value_main') || "", value_any => $query->param('value_any') || "", + value_match => $query->param('value_match') || "", tagid => $tagid, index => $index, authtypesloop => \@authtypesloop, authtypecode => $authtypecode, - value_mainstr => $query->param('value_mainstr') || "", - value_main => $query->param('value_main') || "", - value_any => $query->param('value_any') || "", ); # Print the page