nuxeo-development-framework 5.2.4-1 → 5.2.5

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.
@@ -9451,9 +9451,15 @@
9451
9451
  return treeItem;
9452
9452
  });
9453
9453
  };
9454
- DepartmentApiService.prototype.getFullDepartmentTree = function (customPageProvider, customParams) {
9454
+ DepartmentApiService.prototype.getFullDepartmentTree = function (customPageProvider, customParams, childrenOfSpecificDep) {
9455
9455
  var obj = customParams ? customParams : {};
9456
- var params = Object.assign({ pageProvider: customPageProvider ? customPageProvider : 'PP_Department', currentPageIndex: 0, offset: 0, pageSize: 40, quickFilters: 'Parent Dept' }, obj);
9456
+ var params = Object.assign({ pageProvider: customPageProvider ? customPageProvider : 'PP_Department', currentPageIndex: 0, offset: 0, pageSize: 40 }, obj);
9457
+ if (childrenOfSpecificDep !== null) {
9458
+ params['dublincore_title'] = childrenOfSpecificDep;
9459
+ }
9460
+ else {
9461
+ params['quickFilters'] = 'Parent Dept';
9462
+ }
9457
9463
  if (this.globalAdminService.isGlobalAdmin) {
9458
9464
  params['queryParams'] = this.globalAdminService.activeTenant;
9459
9465
  }
@@ -21600,7 +21606,7 @@
21600
21606
  NdfTableComponent.prototype.exportTable = function (type) {
21601
21607
  var _this = this;
21602
21608
  var _a, _b, _c, _d;
21603
- var request = (_a = this.exportTableConfig) === null || _a === void 0 ? void 0 : _a.request;
21609
+ var request = ___default["default"].cloneDeep((_a = this.exportTableConfig) === null || _a === void 0 ? void 0 : _a.request);
21604
21610
  if (!request) {
21605
21611
  return;
21606
21612
  }