Support "in:public" search filter (#26976)
This commit is contained in:
parent
2528a0721f
commit
ad44d832b8
2 changed files with 3 additions and 1 deletions
|
@ -58,6 +58,8 @@ class SearchQueryTransformer < Parslet::Transform
|
|||
case @flags['in']
|
||||
when 'library'
|
||||
[StatusesIndex]
|
||||
when 'public'
|
||||
[PublicStatusesIndex]
|
||||
else
|
||||
[PublicStatusesIndex, StatusesIndex]
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue