X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/4cf27ad4ae5ac3610e857379b2a788582580aa5b..87ff3f803d2f147e6fa939a99c4c4a4ca6aa965f:/wolnelektury/templates/catalogue/book_searched.html

diff --git a/wolnelektury/templates/catalogue/book_searched.html b/wolnelektury/templates/catalogue/book_searched.html
index 935f332bd..1a345ed27 100644
--- a/wolnelektury/templates/catalogue/book_searched.html
+++ b/wolnelektury/templates/catalogue/book_searched.html
@@ -8,7 +8,7 @@
 <div class="snippets">
   {% for hit in hits %}
   {% if hit.snippets %}
-  <div class="snippet-text"><a href="{% url book_text book.slug %}">{{hit.snippets.0|safe}}</a></div>
+  <div class="snippet-text"><a href="{% url book_text book.slug %}#sec{{hit.section_number}}">{{hit.snippets.0|safe}}</a></div>
   {% else %}
   {% if hit.fragment %}
   <div class="snippet-text">