FilterDateMerger
Old CRM entities using getList do not support non-unique keys in SQL conditions, then when the dates in the filters and the dates in the "Deadlines" columns intersect, the filters must be combined for correct operation.
Table of Contents
Methods
- merge() : array<string|int, mixed>
- Return merged new filter with combined dates or return a condition that is known to be unsatisfied, since the dates do not intersect
Methods
merge()
Return merged new filter with combined dates or return a condition that is known to be unsatisfied, since the dates do not intersect
public
merge(array<string|int, mixed> $firstFilter, array<string|int, mixed> $secondFilter, string $fieldName) : array<string|int, mixed>
Parameters
- $firstFilter : array<string|int, mixed>
- $secondFilter : array<string|int, mixed>
- $fieldName : string