Better searching by solved status

I had a twitter conversation with a user of ours who was frustrated with us auto-closing topics (without solutions) and the inability to easily find solved issues that related to their issue.

In the Advanced Search area, there’s no explicit way to search by solved, you need to manually add status:solved in the search bar. Which has me wondering if there might be some ways we could better return solved results, perhaps by having;

  • a sort by solved option, per the users suggestion
  • an explicit Solved status in the Where topics drop down or in Only return topics/posts... as a checkbox

There’s probably other ideas, but I wanted to start a discussion.

8 Likes

I like the idea of the “Where topics” having an option for “are solved”. :slight_smile:

5 Likes

We have in: solved

https://meta.discourse.org/search?q=in%3Asolved%20button

We certainly should have the solved plugin inject into here and add a “are solved” option.

image

@vinothkannans can you make this happen?

6 Likes

Given that the search query is in not status, shouldn’t this go in the “Only return topics/posts…” drop down, not the “where topics”? That’s where all the other in queries are.

4 Likes

I think we messed up here a bit in the terminology of the search operator.

We should

  1. Rename it so it is status:solved not in:solved
  2. Then amend the UX to match.

“solved” is far more akin “archived” “closed” and so on as status. in:solved feels like it is in stuff that I solved, which is not our intent at all.

So, very very slight scope creep here. Rename in:solved to status:solved

11 Likes

This is great addition. Thank you!

3 Likes

https://github.com/discourse/discourse-solved/commit/f4aea44db8e1a0af3140a7391c0c65cca49a7e8f

It’s done as per the above commit.

8 Likes

Awesome, thank’s y’all :smiley:

6 Likes