X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e0611b29453531f662d873890d5ab44b340a8856..480da6ff4ed8c04b205710c318b2fcfcb961bbc7:/apps/opds/views.py?ds=sidebyside diff --git a/apps/opds/views.py b/apps/opds/views.py index 136712504..8fe0b8f1b 100644 --- a/apps/opds/views.py +++ b/apps/opds/views.py @@ -390,8 +390,8 @@ class SearchFeed(AcquisitionFeed): if author: log.info( "narrow to author %s" % author) - hint.tags(srch.search_tags(srch.get_phrase(srch.get_tokens(author, field='authors'), 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)