From 9daf0fffa298d0749a27157ae603438c1ab3738a Mon Sep 17 00:00:00 2001
From: Patrick Murray-John
Date: Thu, 1 Nov 2018 16:52:15 -0400
Subject: [PATCH] put a more reasonable delimiter for creator lists
same change probably needs to happen other places where js is casting an
array to a string
---
assets/js/browse.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/assets/js/browse.js b/assets/js/browse.js
index fd7da10a..ad6b3933 100644
--- a/assets/js/browse.js
+++ b/assets/js/browse.js
@@ -242,7 +242,7 @@ jQuery(document).ready(function($) {
this_doc += "";
}
if (creator && search_options.indexOf('Creator') > -1){
- this_doc += ""+ creator + "
";
+ this_doc += "" + creator.join('; ') + "
";
}
if (abstract && search_options.indexOf('Abstract') > -1){
this_doc += "" + abstract + "
";
@@ -270,7 +270,7 @@ jQuery(document).ready(function($) {
this_doc += "";
}
if (creator && browse_options.indexOf('Creator') > -1){
- this_doc += ""+creator+"
";
+ this_doc += "" + creator.join('; ') + "
";
}
if (abstract && browse_options.indexOf('Abstract') > -1){
this_doc += ""+abstract+"
";