From 65882b824da87de294cbfd63dd2199cea92e7580 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9rick?= <frederick.capovilla@libeo.com>
Date: Tue, 18 Mar 2014 16:11:44 -0400
Subject: [PATCH] Remove spaces in empty indicators when linking an authority to a biblio
record.
---
authorities/blinddetail-biblio-search.pl | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/authorities/blinddetail-biblio-search.pl b/authorities/blinddetail-biblio-search.pl
index 7bfe09e..c6a3042 100755
--- a/authorities/blinddetail-biblio-search.pl
+++ b/authorities/blinddetail-biblio-search.pl
@@ -150,6 +150,10 @@ else {
my $tag_number = $index;
$tag_number =~ s/^tag_(\d*)_.*$/$1/;
+# Remove spaces in indicators
+$indicator1 =~ s/\s//g;
+$indicator2 =~ s/\s//g;
+
$template->param(
authid => $authid ? $authid : "",
index => $index,
--
1.7.2.5