mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05: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'
|
elsif word == 'in:private'
|
||||||
@search_pms = true
|
@search_pms = true
|
||||||
nil
|
nil
|
||||||
|
elsif word =~ /^private_messages:(.+)$/
|
||||||
|
@search_pms = true
|
||||||
|
nil
|
||||||
else
|
else
|
||||||
found ? nil : word
|
found ? nil : word
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue