fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
small fixes
[wolnelektury.git]
/
apps
/
search
/
index.py
diff --git
a/apps/search/index.py
b/apps/search/index.py
index
5c05ffb
..
557f404
100644
(file)
--- a/
apps/search/index.py
+++ b/
apps/search/index.py
@@
-968,6
+968,7
@@
class Search(SolrIndex):
snips = map(lambda s: s and s.replace("/\n", "\n"), snips)
searchresult.snippets = snips
snips = map(lambda s: s and s.replace("/\n", "\n"), snips)
searchresult.snippets = snips
+
return snips
def hint_tags(self, query, pdcounter=True, prefix=True):
return snips
def hint_tags(self, query, pdcounter=True, prefix=True):