X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0e8fc93b7943f9a8ebe4cf3f9b609ea14685ed65..3c12104d064098096eb5fe9c9ee122d0293e10f2:/wolnelektury/templates/newsearch/search.html?ds=inline 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 %}