From 0aafa951948f151fb74c704d7901d9bbc136ac74 Mon Sep 17 00:00:00 2001 From: Marcin Koziej Date: Mon, 2 Jul 2012 13:54:56 +0200 Subject: [PATCH 1/1] fix of a fix --- apps/opds/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/opds/views.py b/apps/opds/views.py index 2a1b2f890..8fe0b8f1b 100644 --- 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) -- 2.20.1