Fixed shelving date changing when changing editions
This commit is contained in:
parent
21a8570035
commit
2ba7dff845
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…
Add table
Add a link
Reference in a new issue