X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/756585089fb09cd0e25856b55510e69a52112e5f..0d6bbe91d75e82866aaa232eee4a036759446a86:/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 %}