Wip stage M4
This commit is contained in:
@@ -21,6 +21,10 @@ export function parseListingParams(params: RawSearchParams): ProductListQuery {
|
||||
categorySlug: single(params['category']),
|
||||
onSale: single(params['onSale']) === 'true' ? true : undefined,
|
||||
sort: parseSort(single(params['sort'])),
|
||||
// Present only when someone followed the "load more" link without
|
||||
// JavaScript, or a crawler did. The client path appends in place and never
|
||||
// puts a cursor in the address bar.
|
||||
cursor: single(params['cursor']),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user