From 2ea9be2319952e1b977b9a175559871589c1046e Mon Sep 17 00:00:00 2001 From: Marcin Koziej Date: Mon, 2 Jul 2012 12:59:53 +0200 Subject: [PATCH] misting get_tokens call. --- apps/opds/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.20.1