mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-02-16 19:15:16 +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,
|
user=shelfbook.user,
|
||||||
shelf=shelfbook.shelf,
|
shelf=shelfbook.shelf,
|
||||||
book=new_edition,
|
book=new_edition,
|
||||||
|
shelved_date=shelfbook.shelved_date,
|
||||||
)
|
)
|
||||||
shelfbook.delete()
|
shelfbook.delete()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue