mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-23 10:43:19 +00:00
app/lib/search_query_transformer.rb: change search index default value to StatusesIndex
Some checks failed
Check i18n / check-i18n (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
CodeQL / Analyze-1 (push) Has been cancelled
CodeQL / Analyze-2 (push) Has been cancelled
Check formatting / lint (push) Has been cancelled
Ruby Linting / lint (push) Has been cancelled
Historical data migration test / test (14-alpine) (push) Has been cancelled
Historical data migration test / test (15-alpine) (push) Has been cancelled
Historical data migration test / test (16-alpine) (push) Has been cancelled
Historical data migration test / test (17-alpine) (push) Has been cancelled
Ruby Testing / build (production) (push) Has been cancelled
Ruby Testing / build (test) (push) Has been cancelled
Ruby Testing / test (.ruby-version) (push) Has been cancelled
Ruby Testing / test (3.2) (push) Has been cancelled
Ruby Testing / test (3.3) (push) Has been cancelled
Ruby Testing / ImageMagick tests (push) Has been cancelled
Ruby Testing / ImageMagick tests-1 (push) Has been cancelled
Ruby Testing / ImageMagick tests-2 (push) Has been cancelled
Ruby Testing / End to End testing (push) Has been cancelled
Ruby Testing / End to End testing-1 (push) Has been cancelled
Ruby Testing / End to End testing-2 (push) Has been cancelled
Ruby Testing / Elastic Search integration testing (push) Has been cancelled
Ruby Testing / Elastic Search integration testing-1 (push) Has been cancelled
Ruby Testing / Elastic Search integration testing-2 (push) Has been cancelled
Ruby Testing / Elastic Search integration testing-3 (push) Has been cancelled
Ruby Testing / Elastic Search integration testing-4 (push) Has been cancelled
Some checks failed
Check i18n / check-i18n (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
CodeQL / Analyze-1 (push) Has been cancelled
CodeQL / Analyze-2 (push) Has been cancelled
Check formatting / lint (push) Has been cancelled
Ruby Linting / lint (push) Has been cancelled
Historical data migration test / test (14-alpine) (push) Has been cancelled
Historical data migration test / test (15-alpine) (push) Has been cancelled
Historical data migration test / test (16-alpine) (push) Has been cancelled
Historical data migration test / test (17-alpine) (push) Has been cancelled
Ruby Testing / build (production) (push) Has been cancelled
Ruby Testing / build (test) (push) Has been cancelled
Ruby Testing / test (.ruby-version) (push) Has been cancelled
Ruby Testing / test (3.2) (push) Has been cancelled
Ruby Testing / test (3.3) (push) Has been cancelled
Ruby Testing / ImageMagick tests (push) Has been cancelled
Ruby Testing / ImageMagick tests-1 (push) Has been cancelled
Ruby Testing / ImageMagick tests-2 (push) Has been cancelled
Ruby Testing / End to End testing (push) Has been cancelled
Ruby Testing / End to End testing-1 (push) Has been cancelled
Ruby Testing / End to End testing-2 (push) Has been cancelled
Ruby Testing / Elastic Search integration testing (push) Has been cancelled
Ruby Testing / Elastic Search integration testing-1 (push) Has been cancelled
Ruby Testing / Elastic Search integration testing-2 (push) Has been cancelled
Ruby Testing / Elastic Search integration testing-3 (push) Has been cancelled
Ruby Testing / Elastic Search integration testing-4 (push) Has been cancelled
This commit is contained in:
parent
9261623563
commit
f88c463059
1 changed files with 3 additions and 1 deletions
|
|
@ -60,8 +60,10 @@ class SearchQueryTransformer < Parslet::Transform
|
|||
[StatusesIndex]
|
||||
when 'public'
|
||||
[PublicStatusesIndex]
|
||||
else
|
||||
when 'all'
|
||||
[PublicStatusesIndex, StatusesIndex]
|
||||
else
|
||||
[StatusesIndex]
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue