# Unexpected results in advanced search on "only return topics/posts" and "In my messages"

**URL:** <https://meta.discourse.org/t/unexpected-results-in-advanced-search-on-only-return-topics-posts-and-in-my-messages/113046>\
**Category:** Feature\
**Created:** [31.Март.2019 09:58:49 UTC](https://meta.discourse.org/t/unexpected-results-in-advanced-search-on-only-return-topics-posts-and-in-my-messages/113046 "2019-03-31T09:58:49Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![filz](https://avatars.discourse-cdn.com/v4/letter/f/97f17d/32.png) [@filz](https://meta.discourse.org/u/filz)\
**Post date:** [31.Март.2019 09:58:49 UTC](https://meta.discourse.org/t/unexpected-results-in-advanced-search-on-only-return-topics-posts-and-in-my-messages/113046/1 "2019-03-31T09:58:49Z")

</div>

As a new user of discourse I expect the search results of “In my messages” to be a subset of the default search. Instead, messages are not found when “In my messages” is not activated.  
I think we should change the presentation or the behaviour to match the expectations. I guess the main problem is the mix between the definition of the searched set (topics/messages) and the applied search filters.  
An alternative behaviour is already mentioned in [Searching public topics and PMs simultaneously and set this option as the default](https://meta.discourse.org/t/search-both-public-topics-and-pms-by-default/71017).  
An alternative presentation could be to split “In my messages” from “Only return topics/posts…” to a separate drop-down list:

- Where messages are  
\*\* excluded  
\*\* included  
\*\* searched exclusively

---

_[View the full topic](https://meta.discourse.org/t/unexpected-results-in-advanced-search-on-only-return-topics-posts-and-in-my-messages/113046)._
