1
0
Fork 0

Merge branch 'main' into let-a-user-search-within-their-books

This commit is contained in:
Ross Chapman 2023-12-14 10:25:05 -08:00
commit 7cca199a11
151 changed files with 855 additions and 383 deletions

View file

@ -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")