mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 15:43:27 +08:00

When searching for PMs or PMs in a group inbox, results in the header search were not being limited to 5 with a "More" link to the full page search. This PR fixes that. It also simplifies the logic and updates the search API docs to include recently added `in:messages` and `group_messages:groupname` options.