fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make some menus reponsive, some work on book boxes.
[wolnelektury.git]
/
apps
/
search
/
custom.py
diff --git
a/apps/search/custom.py
b/apps/search/custom.py
index
924a10e
..
dcb55eb
100644
(file)
--- a/
apps/search/custom.py
+++ b/
apps/search/custom.py
@@
-179,7
+179,6
@@
class CustomSolrInterface(sunburnt.SolrInterface):
snip = text[start:end]
matches.sort(lambda a, b: cmp(b[0], a[0]))
snip = text[start:end]
matches.sort(lambda a, b: cmp(b[0], a[0]))
- print matches
for (s, e) in matches:
off = - start
for (s, e) in matches:
off = - start