Tests tag page and orders tag collection json
This commit is contained in:
parent
d04a1956f5
commit
29ee027f6d
3 changed files with 44 additions and 2 deletions
|
@ -129,7 +129,7 @@ class Work(OrderedCollectionPageMixin, Book):
|
|||
def to_edition_list(self, **kwargs):
|
||||
''' an ordered collection of editions '''
|
||||
return self.to_ordered_collection(
|
||||
self.editions.all(),
|
||||
self.editions.order_by('-updated_date').all(),
|
||||
remote_id='%s/editions' % self.remote_id,
|
||||
**kwargs
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue