@one-paragon/angular-utilities 2.7.8 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2579,7 +2579,9 @@ function buildInAllValuesFilter(config, previousMeta, currentMeta, data, metaTim
2579
2579
  const blankValueFilter = '__tb_sp_blank';
2580
2580
  const blankValueAndEmptyStringFilter = '__tb_sp_BLANK';
2581
2581
  function buildFilter(data, metaData, config) {
2582
- const map = metaData.fieldType == FieldType.Currency ? (v => v == null ? v : v[metaData.key]) : createTransformer(metaData, config, true, true);
2582
+ const map = metaData.fieldType == FieldType.Currency ? (v => v == null ? v : v[metaData.key])
2583
+ : typeof metaData.filterLogic?.filterBy === 'function' && !metaData.additional?.filterOptions?.filterableValues?.doNotIncludeBlanks ? metaData.filterLogic?.filterBy
2584
+ : createTransformer(metaData, config, true, false);
2583
2585
  const mapped = data.map(v => {
2584
2586
  const mappedV = map(v);
2585
2587
  return [mappedV?.toString(), mappedV];