From e7d6d4a6b59f9e012d1f14ea531e63e3f2afe3a6 Mon Sep 17 00:00:00 2001 From: Ben Silverman Date: Mon, 4 Dec 2023 11:50:27 -0500 Subject: [PATCH] Don't add 1 to canvas position in search results (#945) --- apps/templates/snippets/volume_result.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/templates/snippets/volume_result.html b/apps/templates/snippets/volume_result.html index 46f23dbf..a2b7a9f5 100644 --- a/apps/templates/snippets/volume_result.html +++ b/apps/templates/snippets/volume_result.html @@ -78,7 +78,7 @@

{% for canvas in volume.meta.inner_hits|group_by_canvas %}
- p. {{ canvas.position|add:1 }} + p. {{ canvas.position }} {% if canvas.highlights|length %}
    {% for fragment in canvas.highlights %}