Fix spelling of SORT_ASCENDING in search constants
This commit is contained in:
parent
ba62170ef7
commit
c16fb8c906
3 changed files with 3 additions and 3 deletions
2
flow-typed/search.js
vendored
2
flow-typed/search.js
vendored
|
@ -15,7 +15,7 @@ declare type SearchOptions = {
|
|||
MEDIA_IMAGE: string,
|
||||
MEDIA_APPLICATION: string,
|
||||
SORT: string,
|
||||
SORT_ACCENDING: string,
|
||||
SORT_ASCENDING: string,
|
||||
SORT_DESCENDING: string,
|
||||
EXACT: string,
|
||||
TIME_FILTER: string,
|
||||
|
|
|
@ -33,7 +33,7 @@ const TIME_FILTER = {
|
|||
const SORT_BY = {
|
||||
'': 'Relevance',
|
||||
[SEARCH_OPTIONS.SORT_DESCENDING]: 'Newest first',
|
||||
[SEARCH_OPTIONS.SORT_ACCENDING]: 'Oldest first',
|
||||
[SEARCH_OPTIONS.SORT_ASCENDING]: 'Oldest first',
|
||||
};
|
||||
|
||||
type Props = {
|
||||
|
|
|
@ -24,7 +24,7 @@ export const SEARCH_OPTIONS = {
|
|||
MEDIA_IMAGE: 'image',
|
||||
MEDIA_APPLICATION: 'application',
|
||||
SORT: 'sort_by',
|
||||
SORT_ACCENDING: '^release_time',
|
||||
SORT_ASCENDING: '^release_time',
|
||||
SORT_DESCENDING: 'release_time',
|
||||
EXACT: 'exact',
|
||||
PRICE_FILTER_FREE: 'free_only',
|
||||
|
|
Loading…
Reference in a new issue