serializeCollectionState

Function

Serialize the current state of a collection into a hash that can be converted into a query string

Parameters

Parameter Type Default Notes
collection Required ICollection

Returns

Property Type Notes
query Optional string
sort Optional string

Function defined in common/src/search/collectionState.ts:64