This commit is contained in:
Ozzieisaacs
2018-10-30 21:47:33 +01:00
parent 5fc742c9c4
commit ee85492c7d
2 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -588,7 +588,7 @@ def modify_database_object(input_elements, db_book_object, db_object, db_session
# if no element is found add it
# if new_element is None:
if db_type == 'author':
new_element = db_object(add_element, add_element.replace('|', ','), "")
new_element = db_object(add_element, helper.get_sorted_author(add_element.replace('|', ',')), "")
elif db_type == 'series':
new_element = db_object(add_element, add_element)
elif db_type == 'custom':