Send connector with search result

also fix typo in get_work_from_edition_data function
This commit is contained in:
Mouse Reeve
2020-12-27 14:27:18 -08:00
parent 9f74e95b00
commit ac261d7b1a
6 changed files with 65 additions and 12 deletions

View File

@ -13,4 +13,5 @@ class Connector(AbstractMinimalConnector):
return data
def format_search_result(self, search_result):
search_result['connector'] = self
return SearchResult(**search_result)