0
0
Fork 0

Support "in:public" search filter (#26976)

This commit is contained in:
Jeong Arm 2023-10-17 23:12:03 +09:00 committed by GitHub
parent 2528a0721f
commit ad44d832b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -58,6 +58,8 @@ class SearchQueryTransformer < Parslet::Transform
case @flags['in']
when 'library'
[StatusesIndex]
when 'public'
[PublicStatusesIndex]
else
[PublicStatusesIndex, StatusesIndex]
end