fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OPDS with new SOLR interface.
[wolnelektury.git]
/
apps
/
search
/
templates
/
newsearch
/
search.html
diff --git
a/apps/search/templates/newsearch/search.html
b/apps/search/templates/newsearch/search.html
index
c494ca6
..
635bae8
100644
(file)
--- a/
apps/search/templates/newsearch/search.html
+++ b/
apps/search/templates/newsearch/search.html
@@
-29,11
+29,9
@@
<li>
<p><a href="{{result.book.get_absolute_url}}">{{result.book.pretty_title}}</a> (id: {{result.book_id}}, score: {{result.score}})</p>
<ul>
<li>
<p><a href="{{result.book.get_absolute_url}}">{{result.book.pretty_title}}</a> (id: {{result.book_id}}, score: {{result.score}})</p>
<ul>
- {% for
hit in result.hi
ts %}
+ {% for
snip in hit.snippe
ts %}
<li>
<li>
- {% for snip in hit.3.snippets %}
- {{snip|safe}}<br/>
- {% endfor %}
+ {{snip|safe}}<br/>
</li>
{% endfor %}
</li>
{% endfor %}