forked from mirrors/bookwyrm
Merge pull request #1051 from bookwyrm-social/inventaire-edition
Sort edition list for better import results from inventaire
This commit is contained in:
commit
8d875f73ff
1 changed files with 4 additions and 2 deletions
|
@ -123,8 +123,10 @@ class Connector(AbstractConnector):
|
|||
|
||||
def load_edition_data(self, work_uri):
|
||||
"""get a list of editions for a work"""
|
||||
url = "{:s}?action=reverse-claims&property=wdt:P629&value={:s}".format(
|
||||
self.books_url, work_uri
|
||||
url = (
|
||||
"{:s}?action=reverse-claims&property=wdt:P629&value={:s}&sort=true".format(
|
||||
self.books_url, work_uri
|
||||
)
|
||||
)
|
||||
return get_data(url)
|
||||
|
||||
|
|
Loading…
Reference in a new issue