# Pressing return when searching in messages returns no results

**URL:** <https://meta.discourse.org/t/pressing-return-when-searching-in-messages-returns-no-results/31949>\
**Category:** Bug\
**Created:** [2015 年8 月 10 日 12:27 UTC](https://meta.discourse.org/t/pressing-return-when-searching-in-messages-returns-no-results/31949 "2015-08-10T12:27:12Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![alexhartley](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alexhartley/32/233168_2.png) [@alexhartley](https://meta.discourse.org/u/alexhartley)\
发布日期： [2015 年8 月 10 日 12:27 UTC](https://meta.discourse.org/t/pressing-return-when-searching-in-messages-returns-no-results/31949/1 "2015-08-10T12:27:12Z")

</div>

If you press return during a search of private messages the search operator used is `private_messages:username` but it should be `in:private` shouldn’t it?

 ![](https://global.discourse-cdn.com/meta/original/3X/8/2/82edec6f81d9c2b0f34d7cc5b4d9ef45761df0f8.gif)

---

_[View the full topic](https://meta.discourse.org/t/pressing-return-when-searching-in-messages-returns-no-results/31949)._
