@@ -, +, @@
---
authorities/blinddetail-biblio-search.pl | 8 ++++----
.../prog/en/modules/authorities/blinddetail-biblio-search.tt | 6 ++++--
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt | 2 +-
3 files changed, 9 insertions(+), 7 deletions(-)
--- a/authorities/blinddetail-biblio-search.pl
+++ a/authorities/blinddetail-biblio-search.pl
@@ -145,15 +145,15 @@ my $tag_number = $index;
$tag_number =~ s/^tag_(\d*)_.*$/$1/;
# Remove spaces in indicators
-$indicator1 =~ s/\s//g;
-$indicator2 =~ s/\s//g;
+$indicator1 =~ s/\s//g if $indicator1;
+$indicator2 =~ s/\s//g if $indicator2;;
$template->param(
authid => $authid ? $authid : "",
index => $index,
tagid => $tagid,
- indicator1 => $indicator1,
- indicator2 => $indicator2,
+ indicator1 => $indicator1 || "",
+ indicator2 => $indicator2 || "",
SUBFIELD_LOOP => \@subfield_loop,
tag_number => $tag_number,
);
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt
@@ -5,9 +5,11 @@
//
-
+
[% IF ( bidi ) %]
[% END %]
--