Allow accepted answers on topics
Go to file
Penar Musaraj a18ce6d712
FIX: Allow searching for unsolved posts with tags (#284)
When using the `status:unsolved` search filter, the plugin was only
returning results from topics in categories where solved was enabled.

This commit changes the search query to also include topics with tags
that have solved enabled via the `enable_solved_tags` site setting.

This fixes the `status:unsolved tags:tag1` search query.
2024-03-28 16:46:22 -04:00
.github/workflows DEV: Update CI workflows (#222) 2023-01-10 18:57:57 +00:00
app DEV: Fix new Rubocop offenses 2024-03-06 10:25:26 +01:00
assets FIX: Nest combobox within LI element (#280) 2024-02-08 15:50:26 -06:00
config Update translations (#283) 2024-03-05 16:48:05 +01:00
db DEV: Change accept_all_solutions_trust_level to group setting (#276) 2024-01-23 11:45:32 +10:00
spec FIX: Allow searching for unsolved posts with tags (#284) 2024-03-28 16:46:22 -04:00
test/javascripts/acceptance DEV: Update linting (#275) 2024-01-16 17:50:43 +01:00
.discourse-compatibility DEV: Pin plugin for Discourse 3.3.0.beta1-dev (#281) 2024-02-27 11:34:34 +00:00
.eslintrc.cjs DEV: Update linting (#275) 2024-01-16 17:50:43 +01:00
.gitignore DEV: apply coding standards (#90) 2020-09-04 13:22:22 +02:00
.prettierrc.cjs DEV: Update linting (#275) 2024-01-16 17:50:43 +01:00
.rubocop.yml DEV: Introduce syntax_tree for ruby formatting (#217) 2022-12-23 20:36:08 +00:00
.streerc DEV: Introduce syntax_tree for ruby formatting (#217) 2022-12-23 20:36:08 +00:00
.template-lintrc.cjs DEV: Update linting (#275) 2024-01-16 17:50:43 +01:00
Gemfile DEV: Introduce syntax_tree for ruby formatting (#217) 2022-12-23 20:36:08 +00:00
Gemfile.lock DEV: Fix new Rubocop offenses 2024-03-06 10:25:26 +01:00
LICENSE add License 2016-06-06 23:15:49 +05:30
README.md Update README.md 2018-01-27 09:16:32 +08:00
package.json DEV: Update linting (#275) 2024-01-16 17:50:43 +01:00
plugin.rb FIX: Allow searching for unsolved posts with tags (#284) 2024-03-28 16:46:22 -04:00
translator.yml DEV: Switch from Transifex to Crowdin 2020-07-16 14:01:20 +02:00
yarn.lock DEV: Update linting (#275) 2024-01-16 17:50:43 +01:00

README.md

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:

screen shot 2018-01-27 at 9 09 47 am

What to expect if Plugin is installed

Inside the Plugins, you will have the following options:

screen shot 2018-01-27 at 8 57 35 am

How to enable it in your posts

New Categories - Check Allow topic owner and staff to mark a reply as the solution

test2

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