rez_core 4.0.8 → 4.0.10
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.
- package/dist/module/integration/service/integration.service.d.ts +1 -1
- package/dist/module/integration/service/integration.service.js +2 -2
- package/dist/module/integration/service/integration.service.js.map +1 -1
- package/dist/module/meta/service/resolver.service.js +1 -1
- package/dist/module/meta/service/resolver.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/module/integration/service/integration.service.ts +2 -0
- package/src/module/meta/service/resolver.service.ts +2 -2
- package/.vscode/extensions.json +0 -5
package/package.json
CHANGED
|
@@ -1297,6 +1297,7 @@ export class IntegrationService {
|
|
|
1297
1297
|
templateId: number,
|
|
1298
1298
|
entity_type: any,
|
|
1299
1299
|
entity_id: any,
|
|
1300
|
+
loggedInUser?: any,
|
|
1300
1301
|
): Promise<{
|
|
1301
1302
|
variables?: Record<string, any>;
|
|
1302
1303
|
externalTemplateId?: string;
|
|
@@ -1322,6 +1323,7 @@ export class IntegrationService {
|
|
|
1322
1323
|
'LOOKUP',
|
|
1323
1324
|
entity_type,
|
|
1324
1325
|
entity_id,
|
|
1326
|
+
loggedInUser,
|
|
1325
1327
|
{} as any,
|
|
1326
1328
|
);
|
|
1327
1329
|
}
|
|
@@ -229,8 +229,8 @@ export class ResolverService {
|
|
|
229
229
|
else if (attr.data_source_type === 'master') {
|
|
230
230
|
const [item] = await this.dataSource.query(
|
|
231
231
|
`SELECT id FROM frm_list_master_items
|
|
232
|
-
WHERE ${attr.data_source_attribute} = ? AND organization_id = ?`,
|
|
233
|
-
[displayValue, loggedInUser.organization_id],
|
|
232
|
+
WHERE ${attr.data_source_attribute} = ? AND organization_id = ? AND listtype = ?`,
|
|
233
|
+
[displayValue, loggedInUser.organization_id, attr.datasource_list],
|
|
234
234
|
);
|
|
235
235
|
return item?.id ?? displayValue;
|
|
236
236
|
}
|