mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 09:10:25 +08:00
FIX: Support searching your PMs via full page
This commit is contained in:
parent
0ddb51608c
commit
b4b96bf62b
1 changed files with 3 additions and 0 deletions
|
@ -436,6 +436,9 @@ class Search
|
|||
elsif word == 'in:private'
|
||||
@search_pms = true
|
||||
nil
|
||||
elsif word =~ /^private_messages:(.+)$/
|
||||
@search_pms = true
|
||||
nil
|
||||
else
|
||||
found ? nil : word
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue