Merge branch 'master' of https://github.com/fnp/wolnelektury
authorMarcin Koziej <marcin@lolownia.org>
Tue, 17 Jul 2012 09:38:10 +0000 (11:38 +0200)
committerMarcin Koziej <marcin@lolownia.org>
Tue, 17 Jul 2012 09:38:10 +0000 (11:38 +0200)
Conflicts:
apps/opds/views.py

apps/opds/views.py

index 1367125..8fe0b8f 100644 (file)
@@ -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)