From 75cd66e605e65d7e297aa30d9f5250004e5d4ee1 Mon Sep 17 00:00:00 2001
From: Jeff Davis <jdavis@sitka.bclibraries.ca>
Date: Wed, 16 May 2018 11:31:43 -0700
Subject: [PATCH] LP#1766379: add spaces between terms in author link to
 prevent a broken search query

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
---
 Open-ILS/src/templates/opac/parts/record/authors.tt2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Open-ILS/src/templates/opac/parts/record/authors.tt2 b/Open-ILS/src/templates/opac/parts/record/authors.tt2
index 0af62bb3b6..25dac9a5cc 100644
--- a/Open-ILS/src/templates/opac/parts/record/authors.tt2
+++ b/Open-ILS/src/templates/opac/parts/record/authors.tt2
@@ -97,7 +97,7 @@ BLOCK build_author_links;
                     END;
                     indexed_term = 1;
                     sf_raw = PROCESS normalize_qterm;
-                    qterm = qterm _ sf_raw;
+                    qterm = qterm _ ' ' _ sf_raw;
                 END;
             ELSIF tag.substr(1,2) == '10';
                 IF code.match('[abcdn]');
-- 
2.11.0