Merge remote-tracking branch 'get_metadata/patch-1'

Fix #1210 Load multiple authors correct via get metadata
pull/1218/head
Ozzieisaacs 5 years ago
commit 3b8c5ef21a

@ -48,7 +48,8 @@ $(function () {
if ($.inArray(el, uniqueTags) === -1) uniqueTags.push(el);
});
$("#bookAuthor").val(book.authors);
var ampSeparatedAuthors = (book.authors || []).join(" & ");
$("#bookAuthor").val(ampSeparatedAuthors);
$("#book_title").val(book.title);
$("#tags").val(uniqueTags.join(","));
$("#rating").data("rating").setValue(Math.round(book.rating));

Loading…
Cancel
Save