fix author sort not updating when bulk editing

This commit is contained in:
James Armstrong
2024-09-17 12:26:35 -07:00
parent 31380f2af9
commit 338441f116
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -231,12 +231,14 @@ def edit_selected_books():
languages = d.get('languages')
publishers = d.get('publishers')
comments = d.get('comments')
checkA = d.get('checkA')
if len(selections) != 0:
for book_id in selections:
vals = {
"pk": book_id,
"value": None,
"checkA": checkA,
}
if title:
vals['value'] = title