fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e259433
)
fix of a fix
author
Marcin Koziej
<marcin@lolownia.org>
Mon, 2 Jul 2012 11:54:56 +0000
(13:54 +0200)
committer
Marcin Koziej
<marcin@lolownia.org>
Mon, 2 Jul 2012 11:54:56 +0000
(13:54 +0200)
apps/opds/views.py
patch
|
blob
|
history
diff --git
a/apps/opds/views.py
b/apps/opds/views.py
index
2a1b2f8
..
8fe0b8f
100644
(file)
--- a/
apps/opds/views.py
+++ b/
apps/opds/views.py
@@
-390,7
+390,8
@@
class SearchFeed(AcquisitionFeed):
if author:
log.info( "narrow to author %s" % author)
- hint.tags(srch.search_tags(srch.get_tokens(author, field='authors'), filt=srch.term_filter(Term('tag_category', 'author'))))
+ hint.tags(srch.search_tags(srch.make_phrase(srch.get_tokens(author, field='authors'), field='authors'),
+ filt=srch.term_filter(Term('tag_category', 'author'))))
if translator:
log.info( "filter by translator %s" % translator)