AI: address review on PR #488

このコミットが含まれているのは:
Codex Night Worker
2026-11-23 00:25:10 +09:00
コミット 6ca18a1f48
2個のファイルの変更、36行の追加、1行の削除
+1 -1
ファイルの表示
@@ -219,7 +219,7 @@ class TagsController < ApplicationController
locale = resolve_locale!
q = params[:q].to_s.strip.sub(/\Anot:/i, '')
prefix = "#{ ActiveRecord::Base.sanitize_sql_like(q) }%"
prefix = "#{ ActiveRecord::Base.sanitize_sql_like(q).tr('*?', '%_') }%"
with_nico = bool?(:nico, default: true)
present_only = bool?(:present, default: true)