LP#1766379: add spaces between terms in author link to prevent a broken search query
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Wed, 16 May 2018 18:31:43 +0000 (11:31 -0700)
committerKathy Lussier <klussier@masslnc.org>
Fri, 25 May 2018 20:24:33 +0000 (16:24 -0400)
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

index 0af62bb..25dac9a 100644 (file)
@@ -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]');