Unify concept of absolute_id and remote_id
This commit is contained in:
parent
93493fc8e4
commit
e76f96eb6c
33 changed files with 263 additions and 236 deletions
|
@ -124,7 +124,7 @@ class Connector(AbstractConnector):
|
|||
|
||||
|
||||
def format_search_result(self, doc):
|
||||
# build the absolute id from the openlibrary key
|
||||
# build the remote id from the openlibrary key
|
||||
key = self.books_url + doc['key']
|
||||
author = doc.get('author_name') or ['Unknown']
|
||||
return SearchResult(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue