@masterteam/components 0.0.314 → 0.0.315

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.
@@ -3428,7 +3428,7 @@ class EntityListField {
3428
3428
  this.loading.set(false);
3429
3429
  return;
3430
3430
  }
3431
- this.fetchRows(metadata.levelId, levelDataId, metadata.moduleId, this.projectedKeys());
3431
+ this.fetchRows(metadata.levelId, levelDataId, metadata.moduleId, this.projectedKeys(), metadata.readFilter);
3432
3432
  };
3433
3433
  // A saved Related list opened from outside its form shows its preserved
3434
3434
  // or its current values, as configured — not whatever the source holds
@@ -3492,7 +3492,7 @@ class EntityListField {
3492
3492
  }
3493
3493
  return map;
3494
3494
  }, ...(ngDevMode ? [{ debugName: "propertyByKey" }] : /* istanbul ignore next */ []));
3495
- fetchRows(levelId, levelDataId, moduleId, propertyKeys) {
3495
+ fetchRows(levelId, levelDataId, moduleId, propertyKeys, readFilter) {
3496
3496
  this.loading.set(true);
3497
3497
  this.errorMessage.set(null);
3498
3498
  const ctx = this.context();
@@ -3508,6 +3508,10 @@ class EntityListField {
3508
3508
  value: String(levelDataId),
3509
3509
  },
3510
3510
  ],
3511
+ // The list's own condition, combined with the filters above before
3512
+ // paging. A rejected one is an error, never retried without it: that
3513
+ // would show records the list excludes.
3514
+ ...(readFilter?.trim() ? { readFilter } : {}),
3511
3515
  page: 1,
3512
3516
  pageSize: 3000,
3513
3517
  };