From f5c5f28ef04fa713dd7a63f81f60afcd6932ea9c Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Wed, 21 Jul 2021 14:01:33 -0400 Subject: [PATCH] UX: Add quick search suggestion entries (#150) --- .../discourse/initializers/extend-for-solved-button.js.es6 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/javascripts/discourse/initializers/extend-for-solved-button.js.es6 b/assets/javascripts/discourse/initializers/extend-for-solved-button.js.es6 index 45e522d..1637d34 100644 --- a/assets/javascripts/discourse/initializers/extend-for-solved-button.js.es6 +++ b/assets/javascripts/discourse/initializers/extend-for-solved-button.js.es6 @@ -286,5 +286,10 @@ export default { ], }); }); + + withPluginApi("0.11.7", (api) => { + api.addSearchSuggestion("status:solved"); + api.addSearchSuggestion("status:unsolved"); + }); }, };