This commit is contained in:
albert
2013-03-08 17:01:32 -05:00
parent 3b87a383b2
commit 9eff846978

View File

@@ -37,6 +37,10 @@ class Note < ActiveRecord::Base
if params[:body_matches].present?
q = q.body_matches(params[:body_matches])
end
if params[:post_id].present?
q = q.body_matches(params[:post_id])
end
if params[:post_tags_match].present?
q = q.post_tags_match(params[:post_tags_match])