forked from mirrors/bookwyrm
Deduplicates search results
This commit is contained in:
parent
4c968c417b
commit
afa1921968
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class Connector(AbstractConnector):
|
|||
or results
|
||||
|
||||
search_results = []
|
||||
for book in results[:10]:
|
||||
for book in set(results[:10]):
|
||||
search_results.append(
|
||||
self.format_search_result(book)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue