rez_core 2.1.101 → 2.1.103

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez_core",
3
- "version": "2.1.101",
3
+ "version": "2.1.103",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -95,6 +95,7 @@ export class ListMasterService {
95
95
  inactiveIdsArray?: number[],
96
96
  loggedInUser?: UserData,
97
97
  ) {
98
+ console.log(sourceList, 'sourceList',params, 'params', inactiveIdsArray, 'inactiveIdsArray', loggedInUser, 'loggedInUser');
98
99
  let result: { label: string; value: number }[] = [];
99
100
  if (!sourceList) return result;
100
101
 
@@ -106,7 +107,8 @@ export class ListMasterService {
106
107
 
107
108
  const applyCommonFilters = (qb: any, status?: number) => {
108
109
  if (status) {
109
- qb.where(`${tableName}.status = :status`, { status });
110
+ qb.where(`${tableName}.status = :status`, { status } );
111
+ qb.orWhere(`${tableName}.status = 'Active'`);
110
112
  }
111
113
 
112
114
  if (loggedInUser?.level_type && loggedInUser?.level_id) {