Skip to content

removeSortField

Overview

Remove base from the sort order (matched by base, ignoring direction).

Signature

removeSortField(sorted, base)

Parameters

NameTypeRequiredDescription
sortedstring[]yesThe sort order.
basestringyesThe base field name to remove.

Returns

string[]

A fresh array.

Source

client/lib/utils/sortedFields.js:133

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2