Skip to content

Commit

Permalink
[DOR-81]: Temporarily hide records without thumbnails from search res…
Browse files Browse the repository at this point in the history
…ults (#1581)
  • Loading branch information
janehughes authored Mar 27, 2024
1 parent dc8d1d9 commit c548b4e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion templates/search/blocks/search_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@
<h2 class="sr-only">Results</h2>
<ul class="search-results__list" id="analytics-results-list">
{% for record in page %}
{% include './search_results__list-card.html' %}
{% comment %} TODO: DOR-82 - Remove this if statement to show all records after user testing {% endcomment %}
{% if record.thumbnail %}
{% include './search_results__list-card.html' %}
{% endif %}
{% endfor %}
</ul>
{% endif %}
Expand Down

0 comments on commit c548b4e

Please sign in to comment.