• Given an array of filter objects, return a new filterArray with old filters from a column removed and new filters for the column added. If new filters are null, simply remove all old filters from baseFilters that refer to this column.

    Parameters

    • baseFilters: IFilter[]

      Array of existing filters created by create

    • columnName: string

      Column name of filters to replace

    • columnFilters: IFilter[]

      Array of new filters created by create. Will replace any filters referring to columnName

    Returns IFilter[]