fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add ebooks listing to api
[wolnelektury.git]
/
apps
/
search
/
custom.py
diff --git
a/apps/search/custom.py
b/apps/search/custom.py
index
e6f559b
..
924a10e
100644
(file)
--- a/
apps/search/custom.py
+++ b/
apps/search/custom.py
@@
-147,7
+147,7
@@
class CustomSolrInterface(sunburnt.SolrInterface):
break
start -= 1
- while end < totlen:
+ while end < totlen
- 1
:
if is_boundary(text[end + 1]):
break
end += 1