Fixed shelving date changing when changing editions

This commit is contained in:
Jacob Kerr 2024-01-03 21:54:25 -05:00
parent 21a8570035
commit 2ba7dff845

View file

@ -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()