Sort edition list for better import results from inventaire
This commit is contained in:
parent
dcde3ded95
commit
558c9c4d67
|
@ -123,7 +123,7 @@ class Connector(AbstractConnector):
|
||||||
|
|
||||||
def load_edition_data(self, work_uri):
|
def load_edition_data(self, work_uri):
|
||||||
"""get a list of editions for a work"""
|
"""get a list of editions for a work"""
|
||||||
url = "{:s}?action=reverse-claims&property=wdt:P629&value={:s}".format(
|
url = "{:s}?action=reverse-claims&property=wdt:P629&value={:s}&sort=true".format(
|
||||||
self.books_url, work_uri
|
self.books_url, work_uri
|
||||||
)
|
)
|
||||||
return get_data(url)
|
return get_data(url)
|
||||||
|
|
Loading…
Reference in New Issue