sort editions correctly for picking default
This commit is contained in:
parent
defd026ed0
commit
33327e2bb6
2 changed files with 13 additions and 3 deletions
|
@ -147,7 +147,7 @@ def shelve(request):
|
|||
if request.POST.get('reshelve', True):
|
||||
try:
|
||||
current_shelf = models.Shelf.objects.get(
|
||||
shelf__user=request.user,
|
||||
user=request.user,
|
||||
edition=book
|
||||
)
|
||||
outgoing.handle_unshelve(request.user, book, current_shelf)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue