diff --git a/app/logical/post_search_context.rb b/app/logical/post_search_context.rb index cadf4e747..9399bcf63 100644 --- a/app/logical/post_search_context.rb +++ b/app/logical/post_search_context.rb @@ -5,7 +5,7 @@ class PostSearchContext def initialize(params) @id = params[:id].to_i @seq = params[:seq] - @tags = params[:q].presence || "status:any" + @tags = params[:q].presence || params[:tags].presence || "status:any" end def post_id