X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/4fb0bfd1b7351af7d83a2cc69e7fca666a359160..e259433948fefe70e35092769540a39a389e8019:/apps/opds/views.py?ds=sidebyside diff --git a/apps/opds/views.py b/apps/opds/views.py index f793d7d57..2a1b2f890 100644 --- a/apps/opds/views.py +++ b/apps/opds/views.py @@ -390,7 +390,7 @@ class SearchFeed(AcquisitionFeed): 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.get_tokens(author, field='authors'), filt=srch.term_filter(Term('tag_category', 'author')))) if translator: log.info( "filter by translator %s" % translator)