This commit is contained in:
albert
2013-03-18 09:33:45 -07:00
parent fff581dc28
commit 7b5a73a2d2
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ class Note < ActiveRecord::Base
end
if params[:post_id].present?
q = q.body_matches(params[:post_id])
q = q.where("post_id = ?", params[:post_id].to_i)
end
if params[:post_tags_match].present?