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. |
||
|---|---|---|
| .. | ||
| admin/assets/javascripts | ||
| app | ||
| assets | ||
| config | ||
| db | ||
| lib | ||
| public/images/upcoming_changes | ||
| spec | ||
| test/javascripts | ||
| about.json | ||
| package.json | ||
| plugin.rb | ||
| README.md | ||
| tsconfig.json | ||
Discourse Solved
Provides a solved button on designated categories
How to Install this Plugin
To install Discourse Plugin - https://meta.discourse.org/t/install-a-plugin/19157
How to Check if Plugin is installed
Go to Admin > Plugins
You should now see:
What to expect if Plugin is installed
Inside the Plugins, you will have the following options:
How to enable it in your posts
New Categories - Check ✅ Allow topic owner and staff to mark a reply as the solution
Old Categories - Go to that Category > Edit > Settings > Check ✅ Allow topic owner and staff to mark a reply as the solution
BONUS: How to add badges to those who answered correctly
https://meta.discourse.org/t/discourse-solved-accepted-answer-plugin/30155
License
MIT


