From 219f78755f3dca836c3ddb60340f1e696139b65d Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 20 Mar 2023 11:15:27 -0700 Subject: [PATCH] Fixes args in list view redirect --- bookwyrm/views/list/list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/views/list/list.py b/bookwyrm/views/list/list.py index 39ef2d403..24d44d183 100644 --- a/bookwyrm/views/list/list.py +++ b/bookwyrm/views/list/list.py @@ -287,7 +287,7 @@ def set_book_position(request, list_item_id): list_item.order = int_position list_item.save() - return redirect_to_referer(request, default=book_list.local_path) + return redirect_to_referer(request, book_list.local_path) @transaction.atomic