Fix log expiration setting not being respected

Problem

The config/install/ai_search_block_log.settings.yml file was missing. After installation, ai_search_block_log.settings had no value, so the helper fell back to 'week' while the settings form displayed 'year' as the default. This made users believe logs were kept for 1 year when they were actually deleted after 7 days.

Changes

  • Add config/install/ai_search_block_log.settings.yml with expiry: year
  • Fix helper fallback from 'week' to 'year' to match the form default

Fixes #3591185

Merge request reports

Loading