Skip to content

Commit

Permalink
Fixed shelving date changing when changing editions
Browse files Browse the repository at this point in the history
  • Loading branch information
jakejack13 committed Jan 30, 2024
1 parent 21a8570 commit 2ba7dff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bookwyrm/views/books/editions.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def switch_edition(request):
user=shelfbook.user,
shelf=shelfbook.shelf,
book=new_edition,
shelved_date=shelfbook.shelved_date,
)
shelfbook.delete()

Expand Down

0 comments on commit 2ba7dff

Please sign in to comment.