mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-06-10 17:29:31 +00:00
Fixed shelving date changing when changing editions
This commit is contained in:
parent
21a8570035
commit
2ba7dff845
|
@ -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