@itilite/iui-user-management 0.4.27 → 0.4.29
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/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -449,10 +449,10 @@ var userPanelUrl = {
|
|
|
449
449
|
return "api/v1/user-management/company/" + IUILocalStorageService.getCompanyId() + "/table?action=delete&table=" + tableName;
|
|
450
450
|
},
|
|
451
451
|
getUnit: function getUnit(tableName, length, sort) {
|
|
452
|
-
return "api/v1/user-management/company/" + IUILocalStorageService.getCompanyId() + "/table?table_name=" + tableName + "&length=" + length + "&
|
|
452
|
+
return "api/v1/user-management/company/" + IUILocalStorageService.getCompanyId() + "/table?table_name=" + tableName + "&length=" + length + "&ordering=" + sort;
|
|
453
453
|
},
|
|
454
454
|
getPaginationUnit: function getPaginationUnit(tableName, length, page, sort) {
|
|
455
|
-
return "api/v1/user-management/company/" + IUILocalStorageService.getCompanyId() + "/table?table_name=" + tableName + "&length=" + length + "&page=" + page + "&
|
|
455
|
+
return "api/v1/user-management/company/" + IUILocalStorageService.getCompanyId() + "/table?table_name=" + tableName + "&length=" + length + "&page=" + page + "&ordering=" + sort;
|
|
456
456
|
},
|
|
457
457
|
moveUnit: function moveUnit() {
|
|
458
458
|
return "api/v1/user-management/company/" + IUILocalStorageService.getCompanyId() + "/transfer-users";
|
|
@@ -8882,7 +8882,7 @@ var UserList = function UserList(_ref2) {
|
|
|
8882
8882
|
var pageNum = page;
|
|
8883
8883
|
var searchParam = searchValue.trim() !== '' ? '&search=' + searchValue : '';
|
|
8884
8884
|
var orderingParam = orderBy === '' ? '' : order === 'asc' ? '&ordering=' + orderBy : '&ordering=-' + orderBy;
|
|
8885
|
-
var url = userListUrl.getUser + '?length=' + rowsPerPage + '&page=' + pageNum + searchParam + orderingParam;
|
|
8885
|
+
var url = userListUrl.getUser + '?length=' + rowsPerPage + '&page=' + pageNum + searchParam + orderingParam + '&pagename=company';
|
|
8886
8886
|
if (isSearchingChange) {
|
|
8887
8887
|
var delayDebounceFn = setTimeout(function () {
|
|
8888
8888
|
setisApiFetching(true);
|