rez_core 3.1.206 → 3.1.207

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": "3.1.206",
3
+ "version": "3.1.207",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -67,7 +67,7 @@ export class SchoolRepository {
67
67
 
68
68
  'school.id AS school_id',
69
69
  'school.name AS school_name',
70
- 'address.area AS school_location',
70
+ 'school.location AS school_location',
71
71
  'school.status AS school_status',
72
72
  ])
73
73
  .from('sso_organization', 'org')
@@ -78,7 +78,6 @@ export class SchoolRepository {
78
78
  // 'brand_profile.parent_id = brn.id AND brand_profile.organization_id = org.id',
79
79
  // )
80
80
  .innerJoin('sso_school', 'school', 'school.brand_id = brn.id')
81
- .leftJoin('eth_address', 'address', 'address.parent_id = school.id')
82
81
  .where('org.id = :orgId', { orgId: currentORGLevel_id })
83
82
  .distinct(true)
84
83
  .getRawMany();
@@ -198,13 +197,12 @@ export class SchoolRepository {
198
197
  'brand.status AS brand_status',
199
198
  'school.id AS school_id',
200
199
  'school.name AS school_name',
201
- 'address.area AS school_location',
200
+ 'school.location AS school_location',
202
201
  'school.status AS school_status',
203
202
  ])
204
203
  .from('sso_user_role_mapping', 'urm')
205
204
  .innerJoin('sso_organization', 'brand', 'brand.id = urm.level_id')
206
205
  .innerJoin('sso_school', 'school', 'school.brand_id = brand.id')
207
- .innerJoin('eth_address', 'address', 'address.parent_id = school.id')
208
206
  .where('urm.user_id = :userId', { userId })
209
207
  .andWhere('urm.appcode = :appCode', { appCode })
210
208
  .andWhere('urm.level_type = :levelType', { levelType: 'BRN' })
@@ -219,13 +217,12 @@ export class SchoolRepository {
219
217
  'brand.status AS brand_status',
220
218
  'school.id AS school_id',
221
219
  'school.name AS school_name',
222
- 'address.area AS school_location',
220
+ 'school.location AS school_location',
223
221
  'school.status AS school_status',
224
222
  ])
225
223
  .from('sso_user_role_mapping', 'urm')
226
224
  .innerJoin('sso_school', 'school', 'school.id = urm.level_id')
227
225
  .innerJoin('sso_organization', 'brand', 'brand.id = school.brand_id')
228
- .innerJoin('eth_address', 'address', 'address.parent_id = school.id')
229
226
  .where('urm.user_id = :userId', { userId })
230
227
  .andWhere('urm.appcode = :appCode', { appCode })
231
228
  .andWhere('urm.level_type = :levelType', { levelType: 'SCH' })