From efd1fd82a9d36a274a4643a5fc1b5ce944dc377d Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 23 May 2022 13:02:06 -0700 Subject: [PATCH] Corrects redirect to confirm mode when adding book --- bookwyrm/views/books/edit_book.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bookwyrm/views/books/edit_book.py b/bookwyrm/views/books/edit_book.py index 2315cfce2..87651fbef 100644 --- a/bookwyrm/views/books/edit_book.py +++ b/bookwyrm/views/books/edit_book.py @@ -115,6 +115,7 @@ class CreateBook(View): # go to confirm mode if not parent_work_id or data.get("add_author"): + data["confirm_mode"] = True return TemplateResponse(request, "book/edit/edit_book.html", data) with transaction.atomic():