0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 18:01:48 +08:00
discourse/plugins/discourse-solved/spec
Martin Brennan 982fba1536
FIX: Add missing solved_topics_auto_close_hours custom field entries (#42255)
When `solved_topics_auto_close_hours` is null/missing in the DB for
Support type categories, the UI defaults to 48 hours for this setting,
but this can be surprising for admins when changing some other support
category setting, as it will go from 0 -> 48 hours in the background.

This commit fixes the issue by backfilling a new custom field
value for `solved_topics_auto_close_hours`, setting it to `0`
on categories with `enable_accepted_answers` set to true
and no existing value for the field.

New support categories are unaffected, as we set 48 hours by
default there.
2026-08-04 09:04:44 +10:00
..
components DEV: Allow multiple solutions in solved plugin (#39806) 2026-05-28 07:12:28 -05:00
db/migrate FIX: Add missing solved_topics_auto_close_hours custom field entries (#42255) 2026-08-04 09:04:44 +10:00
fabricators FEATURE: Let plugins register persistable admin dashboard section settings (#41843) 2026-07-22 18:00:38 +03:00
integration DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00
lib DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00
models FIX: Hide Solved empty_box_on_unsolved on Horizon (#41276) 2026-07-01 10:09:03 +10:00
reports FEATURE: Let plugins register persistable admin dashboard section settings (#41843) 2026-07-22 18:00:38 +03:00
requests DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00
serializers FIX: Show solved status on topic titles loaded directly (#41186) 2026-06-25 15:28:24 +02:00
services/discourse_solved DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00
system DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00