Skip to content

Commit

Permalink
Pass the correct variable for page image urls in archive search results
Browse files Browse the repository at this point in the history
fixes #661
  • Loading branch information
rlskoeser committed Aug 15, 2024
1 parent 39b0286 commit 308e1ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ppa/archive/templates/archive/snippets/search_result.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
<div class="wrapper">
{% for page in results.docs %}
{% with highlights=page_highlights|dict_item:page.id %}
{% include 'archive/snippets/page_preview.html' with item_id=item.source_id source=item.source source_url=item.source_url image_url=item.image_url %}
{% include 'archive/snippets/page_preview.html' with item_id=item.source_id source=item.source source_url=item.source_url image_url=page.image_url %}
{% endwith %}
{% endfor %}
</div>
Expand Down

0 comments on commit 308e1ba

Please sign in to comment.