From 88a86c7aef826957b6c3ca3ce8e13a775030309f Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Wed, 13 Aug 2008 08:39:04 +0200 Subject: [PATCH] Using Warns would cause problems with NoZebra Signed-off-by: Henri-Damien LAURENT --- authorities/auth_finder.pl | 2 ++ cataloguing/addbiblio.pl | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/authorities/auth_finder.pl b/authorities/auth_finder.pl index fef6cbf894..34b762e008 100755 --- a/authorities/auth_finder.pl +++ b/authorities/auth_finder.pl @@ -162,6 +162,8 @@ if ( $op eq "do_search" ) { } $template->param( + mainstring => $query->param('mainstring')||"", + mainmainstring => $query->param('mainmainstring')|"", tagid => $tagid, index => $index, authtypesloop => \@authtypesloop, diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl index 8e2f7b5ea7..49be064199 100755 --- a/cataloguing/addbiblio.pl +++ b/cataloguing/addbiblio.pl @@ -382,7 +382,7 @@ sub create_input { maxlength=\"$max_length\" \/> {$tag}->{$subfield}->{authtypecode}."&index=$subfield_data{id}','$subfield_data{id}'); return false;\" title=\"Tag Editor\">... + onclick=\"Dopop('/cgi-bin/koha/authorities/auth_finder.pl?authtypecode=".$tagslib->{$tag}->{$subfield}->{authtypecode}."&index=$subfield_data{id}&mainmainstring=$value','$subfield_data{id}'); return false;\" title=\"Tag Editor\">... "; } else { $subfield_data{marc_value} = @@ -397,7 +397,7 @@ sub create_input { readonly=\"readonly\" \/> {$tag}->{$subfield}->{authtypecode}."&index=$subfield_data{id}','$subfield_data{id}'); return false;\" title=\"Tag Editor\">... + onclick=\"Dopop('/cgi-bin/koha/authorities/auth_finder.pl?authtypecode=".$tagslib->{$tag}->{$subfield}->{authtypecode}."&index=$subfield_data{id}&mainmainstring=$value','$subfield_data{id}'); return false;\" title=\"Tag Editor\">... "; } # it's a plugin field -- 2.39.5