Fixes queryset for shelf page json
This commit is contained in:
parent
a1e8d5c7c2
commit
6eb7872598
2 changed files with 11 additions and 1 deletions
|
@ -39,7 +39,7 @@ class Shelf(OrderedCollectionMixin, BookWyrmModel):
|
|||
@property
|
||||
def collection_queryset(self):
|
||||
''' list of books for this shelf, overrides OrderedCollectionMixin '''
|
||||
return self.books
|
||||
return self.books.all()
|
||||
|
||||
def get_remote_id(self):
|
||||
''' shelf identifier instead of id '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue