rez_core 5.0.29 → 5.0.31

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": "5.0.29",
3
+ "version": "5.0.31",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -966,7 +966,7 @@ export class FilterService {
966
966
  );
967
967
 
968
968
  const beforeDate = moment()
969
- .subtract(numVal, 'days')
969
+ .subtract(numVal + 1, 'days')
970
970
  .format('YYYY-MM-DD');
971
971
  return {
972
972
  query: `${dateColumn} < :${key}`,
@@ -979,7 +979,7 @@ export class FilterService {
979
979
  'Value must be a number for is_day_after',
980
980
  );
981
981
 
982
- const afterDate = moment().add(numVal, 'days').format('YYYY-MM-DD');
982
+ const afterDate = moment().add(numVal + 1, 'days').format('YYYY-MM-DD');
983
983
  return {
984
984
  query: `${dateColumn} > :${key}`,
985
985
  params: { [key]: afterDate },
@@ -87,20 +87,6 @@ export class ListMasterService {
87
87
  config.appcode != loggedInUser?.appcode &&
88
88
  !publicCall
89
89
  ) {
90
- const client = this.factory.getClient(config.appcode);
91
-
92
- if (!client) {
93
- return;
94
- }
95
-
96
- const res = await firstValueFrom(
97
- client.send('listmaster.getDropdownData', {
98
- type,
99
- loggedInUser,
100
- }),
101
- );
102
-
103
- console.log(res, '-------------------');
104
90
  // Call internal API for appcode mismatch
105
91
  try {
106
92
  const baseUrl = this.configService.get<string>('REDIRECT_BE_URL');
@@ -138,6 +138,7 @@ export class ActionRepository {
138
138
  .select([
139
139
  'a.*',
140
140
  'ac.name AS action_category',
141
+ 'ac.modalname AS modalname',
141
142
  'ar.name AS action_requirement',
142
143
  ])
143
144
  .from('frm_wf_action', 'a')