mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-25 11:01:12 +00:00
Fix shelving date changing when changing editions (#3193)
Merged from from jakejack13/switch-edition Fixes: #3139.
This commit is contained in:
commit
9e7b040b73
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ def switch_edition(request):
|
|||
user=shelfbook.user,
|
||||
shelf=shelfbook.shelf,
|
||||
book=new_edition,
|
||||
shelved_date=shelfbook.shelved_date,
|
||||
)
|
||||
shelfbook.delete()
|
||||
|
||||
|
|
Loading…
Reference in a new issue