@trudb/tru-common-lib 0.0.275 → 0.0.278

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.
@@ -669,8 +669,8 @@ class TruPredicate {
669
669
  return new TruPredicate(breezePredicate, null, null, null);
670
670
  };
671
671
  if (typeof field === 'string') {
672
- var args = []; //I DON'T THINK WE NEED THIS...MAYBE --> propertyQueryPath?.slice(0) as Array<any>;
673
- args[0] += field;
672
+ var args = propertyQueryPath?.slice(0);
673
+ args[args.length - 1] += field;
674
674
  args.push(operator);
675
675
  args.push(value);
676
676
  this._breezePredicate = new breeze.Predicate(args);