Function getSortFromUrl

  • Retrieves the raw sort value from a URL's query parameters for a data region scoped sort.

    Parameters

    • url: string

      The URL to parse the sorts from.

    • OptionaldataRegionName: string

      The data region name scope for this query. Defaults to "query".

    Returns string