Skip to content

Commit

Permalink
Fix shelving date changing when changing editions (#3193)
Browse files Browse the repository at this point in the history
Merged from  from jakejack13/switch-edition
Fixes: #3139.
  • Loading branch information
dato committed Mar 3, 2024
2 parents dd9d68c + 2ba7dff commit 9e7b040
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 9e7b040

Please sign in to comment.