Merge branch 'main' into let-a-user-search-within-their-books
This commit is contained in:
commit
7cca199a11
151 changed files with 855 additions and 383 deletions
|
@ -153,7 +153,7 @@ def search_title_author(
|
|||
|
||||
# filter out multiple editions of the same work
|
||||
list_results = []
|
||||
for work_id in set(editions_of_work[:30]):
|
||||
for work_id in editions_of_work[:30]:
|
||||
result = (
|
||||
results.filter(parent_work=work_id)
|
||||
.order_by("-rank", "-edition_rank")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue