KITAITI Makoto
null+****@clear*****
Tue Sep 22 03:10:41 JST 2015
KITAITI Makoto 2015-09-22 03:10:41 +0900 (Tue, 22 Sep 2015) New Revision: 794a141ff6e02ca73a38da0c8ec0c06a8efaa70b https://github.com/ranguba/epub-searcher/commit/794a141ff6e02ca73a38da0c8ec0c06a8efaa70b Message: Make author names link to filtered result Modified files: app/views/_authors_drilldown.haml Modified: app/views/_authors_drilldown.haml (+1 -2) =================================================================== --- app/views/_authors_drilldown.haml 2015-09-22 03:10:23 +0900 (7f45fd3) +++ app/views/_authors_drilldown.haml 2015-09-22 03:10:41 +0900 (b472711) @@ -1,8 +1,7 @@ - if @drilldowns %ul.author-drilldowns -****@drill***** do |author_drilldown| - -# TODO: Use filter - %a{:href => "/?q=#{[@query_words, author_drilldown['_key']].compact.uniq.join('+')}"} + %a{:href => url(:index, :q => @query_words, :authors => (@authors || []) + [author_drilldown['_key']])} %li = author_drilldown['_key'] %span= author_drilldown['_nsubrecs'] -------------- next part -------------- HTML����������������������������... 下載