@trudb/tru-common-lib 0.2.350 → 0.2.351

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.
@@ -8193,12 +8193,12 @@ class TruDataGrid {
8193
8193
  if (searchLocally) {
8194
8194
  joins.push(this.dataContext.entityAccess().searchCacheOnly(this.config.resultConfig.entityType, setupQuery, this.config.resultConfig.expands));
8195
8195
  if (this.gridType === TruDataGridTypes.DetailManyToMany && this.config.tableConfig.canAdd)
8196
- joins.push(this.dataContext.entityAccess().searchQueryChoices(this.config.resultConfig.entityManyToManyType, this.config.resultConfig.manyToManySetupQuery(this.entity), false));
8196
+ joins.push(this.config.resultConfig.manyToManyQueryChoices());
8197
8197
  }
8198
8198
  else {
8199
8199
  joins.push(this.dataContext.entityAccess().search(this.config.resultConfig.entityType, setupQuery, this.config.resultConfig.expands, false));
8200
8200
  if (this.gridType === TruDataGridTypes.DetailManyToMany && this.config.tableConfig.canAdd)
8201
- joins.push(this.dataContext.entityAccess().searchQueryChoices(this.config.resultConfig.entityManyToManyType, this.config.resultConfig.manyToManySetupQuery(this.entity), true));
8201
+ joins.push(this.config.resultConfig.manyToManyQueryChoices());
8202
8202
  }
8203
8203
  this.latestSetupQuery = setupQuery;
8204
8204
  forkJoin(joins).subscribe({