@revolist/revogrid 3.2.15 → 3.2.16

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.
@@ -1218,7 +1218,7 @@ class FilterPlugin extends BasePlugin {
1218
1218
  // testing each filter for a prop
1219
1219
  for (const [filterIndex, filterData] of propFilters.entries()) {
1220
1220
  // the filter LogicFunction based on the type
1221
- const filter = filterEntities[filterData.type];
1221
+ const filter = this.possibleFilterEntities[filterData.type];
1222
1222
  // THE MAGIC OF FILTERING IS HERE
1223
1223
  if (filterData.relation === 'or') {
1224
1224
  lastFilterResults = [];
@@ -5364,7 +5364,7 @@ class FilterPlugin extends BasePlugin {
5364
5364
  // testing each filter for a prop
5365
5365
  for (const [filterIndex, filterData] of propFilters.entries()) {
5366
5366
  // the filter LogicFunction based on the type
5367
- const filter = filterEntities[filterData.type];
5367
+ const filter = this.possibleFilterEntities[filterData.type];
5368
5368
  // THE MAGIC OF FILTERING IS HERE
5369
5369
  if (filterData.relation === 'or') {
5370
5370
  lastFilterResults = [];
@@ -221,7 +221,7 @@ export default class FilterPlugin extends BasePlugin {
221
221
  // testing each filter for a prop
222
222
  for (const [filterIndex, filterData] of propFilters.entries()) {
223
223
  // the filter LogicFunction based on the type
224
- const filter = filterEntities[filterData.type];
224
+ const filter = this.possibleFilterEntities[filterData.type];
225
225
  // THE MAGIC OF FILTERING IS HERE
226
226
  if (filterData.relation === 'or') {
227
227
  lastFilterResults = [];
@@ -65,6 +65,7 @@ export function generateFakeDataObject(config = {}) {
65
65
  columns[rgCol] = {
66
66
  name: generateHeader(rgCol),
67
67
  prop: rgCol,
68
+ filter:"myFilterType",
68
69
  sortable: true,
69
70
  size: 200,
70
71
  cellCompare: (rgCol % 2) == 0 ? naturalSort : undefined
@@ -5360,7 +5360,7 @@ class FilterPlugin extends BasePlugin {
5360
5360
  // testing each filter for a prop
5361
5361
  for (const [filterIndex, filterData] of propFilters.entries()) {
5362
5362
  // the filter LogicFunction based on the type
5363
- const filter = filterEntities[filterData.type];
5363
+ const filter = this.possibleFilterEntities[filterData.type];
5364
5364
  // THE MAGIC OF FILTERING IS HERE
5365
5365
  if (filterData.relation === 'or') {
5366
5366
  lastFilterResults = [];