fbc logo mistaken the size
[wolnelektury.git] / apps / opds / views.py
index f793d7d..8fe0b8f 100644 (file)
@@ -390,7 +390,8 @@ class SearchFeed(AcquisitionFeed):
 
             if author:
                 log.info( "narrow to author %s" % author)
 
             if author:
                 log.info( "narrow to author %s" % author)
-                hint.tags(srch.search_tags(author, 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)
 
             if translator:
                 log.info( "filter by translator %s" % translator)