@meshmakers/octo-services 3.4.910 → 3.4.930
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.
|
@@ -6289,6 +6289,8 @@ const GetEntitiesByCkTypeDocumentDto = gql `
|
|
|
6289
6289
|
rtId
|
|
6290
6290
|
ckTypeId
|
|
6291
6291
|
rtWellKnownName
|
|
6292
|
+
rtDisplayName
|
|
6293
|
+
rtDisplayDescription
|
|
6292
6294
|
rtCreationDateTime
|
|
6293
6295
|
rtChangedDateTime
|
|
6294
6296
|
attributes(resolveEnumValuesToNames: true) {
|
|
@@ -6333,7 +6335,9 @@ class RuntimeEntitySelectDataSource {
|
|
|
6333
6335
|
ckTypeId: this.ckTypeId,
|
|
6334
6336
|
first: take ?? 10,
|
|
6335
6337
|
fieldFilters: [
|
|
6336
|
-
|
|
6338
|
+
// Search by the engine-computed display name (AB#4813); rtId matching required exact
|
|
6339
|
+
// hex ids and never matched what users type into an entity search.
|
|
6340
|
+
{ attributePath: 'rtDisplayName', operator: FieldFilterOperatorsDto.LikeDto, comparisonValue: filter }
|
|
6337
6341
|
]
|
|
6338
6342
|
}
|
|
6339
6343
|
}));
|
|
@@ -6343,7 +6347,9 @@ class RuntimeEntitySelectDataSource {
|
|
|
6343
6347
|
rtId: item.rtId,
|
|
6344
6348
|
ckTypeId: item.ckTypeId,
|
|
6345
6349
|
rtWellKnownName: item.rtWellKnownName ?? undefined,
|
|
6346
|
-
|
|
6350
|
+
rtDisplayName: item.rtDisplayName,
|
|
6351
|
+
rtDisplayDescription: item.rtDisplayDescription ?? undefined,
|
|
6352
|
+
displayName: item.rtDisplayName
|
|
6347
6353
|
}));
|
|
6348
6354
|
return {
|
|
6349
6355
|
totalCount: result.data?.runtime?.runtimeEntities?.totalCount ?? 0,
|
|
@@ -6369,16 +6375,18 @@ class RuntimeEntityDialogDataSource {
|
|
|
6369
6375
|
}
|
|
6370
6376
|
getColumns() {
|
|
6371
6377
|
return [
|
|
6378
|
+
{ field: 'rtDisplayName', displayName: 'Name' },
|
|
6379
|
+
{ field: 'rtDisplayDescription', displayName: 'Description' },
|
|
6372
6380
|
{ field: 'rtId', displayName: 'RT-ID' },
|
|
6373
|
-
{ field: 'rtWellKnownName', displayName: 'Name' },
|
|
6374
6381
|
{ field: 'ckTypeId', displayName: 'CK Type' }
|
|
6375
6382
|
];
|
|
6376
6383
|
}
|
|
6377
6384
|
fetchData(options) {
|
|
6378
6385
|
const fieldFilters = [];
|
|
6379
6386
|
if (options.textSearch && options.textSearch.trim()) {
|
|
6387
|
+
// Search by the engine-computed display name (AB#4813)
|
|
6380
6388
|
fieldFilters.push({
|
|
6381
|
-
attributePath: '
|
|
6389
|
+
attributePath: 'rtDisplayName',
|
|
6382
6390
|
operator: FieldFilterOperatorsDto.LikeDto,
|
|
6383
6391
|
comparisonValue: options.textSearch.trim()
|
|
6384
6392
|
});
|
|
@@ -6397,7 +6405,9 @@ class RuntimeEntityDialogDataSource {
|
|
|
6397
6405
|
rtId: item.rtId,
|
|
6398
6406
|
ckTypeId: item.ckTypeId,
|
|
6399
6407
|
rtWellKnownName: item.rtWellKnownName ?? undefined,
|
|
6400
|
-
|
|
6408
|
+
rtDisplayName: item.rtDisplayName,
|
|
6409
|
+
rtDisplayDescription: item.rtDisplayDescription ?? undefined,
|
|
6410
|
+
displayName: item.rtDisplayName
|
|
6401
6411
|
}));
|
|
6402
6412
|
return {
|
|
6403
6413
|
data: items,
|