Adding new names avoids misjudgments due to weak scanning.

This commit is contained in:
chiu 2026-03-02 02:38:18 +00:00
parent 1ed4665e29
commit 4199ff58f7
1 changed files with 3 additions and 2 deletions

View File

@ -127,9 +127,10 @@ module AnnouncementsHelper
feeds_count = 0
extra_match_cond = []
orbithashtag = params["orbithashtag"]
if !params[:keywords].blank?
search_q = params[:q_text] || params[:keywords]
if !search_q.blank?
extra_match_cond << {
"title_plain_text" => OrbitHelper.get_keyword_regex(params[:keywords])
"title_plain_text" => OrbitHelper.get_keyword_regex(search_q)
}
end
if !params[:stime].blank?