Merge branch 'master' into production
authorMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Thu, 19 Jul 2012 07:24:15 +0000 (09:24 +0200)
committerMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Thu, 19 Jul 2012 07:24:15 +0000 (09:24 +0200)
apps/opds/views.py
lib/librarian

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)
index bd2ad23..5c55be5 160000 (submodule)
@@ -1 +1 @@
-Subproject commit bd2ad2356d916f72762de867890b5d176830f73b
+Subproject commit 5c55be51e46b296d368b86375f2f4b90ea46c00b