1
0
Fork 0

Merge pull request #171 from mouse-reeve/base-model-test

Unify absolute_id and remote_id fields in database
This commit is contained in:
Mouse Reeve 2020-05-14 10:33:04 -07:00 committed by GitHub
commit 30350f035e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 293 additions and 235 deletions

View file

@ -47,7 +47,7 @@ class Connector(AbstractConnector):
def format_search_result(self, book):
return SearchResult(
book.title,
book.absolute_id,
book.local_id,
book.author_text,
book.published_date.year if book.published_date else None,
)