X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0e8fc93b7943f9a8ebe4cf3f9b609ea14685ed65..5d3f4483d48655682297aa3c945c997633ea45d2:/wolnelektury/templates/newsearch/search.html diff --git a/wolnelektury/templates/newsearch/search.html b/wolnelektury/templates/newsearch/search.html index af36b5988..c494ca602 100644 --- a/wolnelektury/templates/newsearch/search.html +++ b/wolnelektury/templates/newsearch/search.html @@ -10,7 +10,7 @@ {% block body %}

Search

-
+

@@ -27,10 +27,14 @@

    {% for result in results %}
  1. -

    {{result.book.pretty_title}} (id: {{result.book.id}}, score: {{result.score}})

    +

    {{result.book.pretty_title}} (id: {{result.book_id}}, score: {{result.score}})

      - {% for snippet in result.snippets %} -
    • {{snippet|safe}}
    • + {% for hit in result.hits %} +
    • + {% for snip in hit.3.snippets %} + {{snip|safe}}
      + {% endfor %} +
    • {% endfor %} {% for part in result.parts %}