@itilite/iui-user-management 1.4.944 → 1.4.945
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 +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -10387,6 +10387,7 @@ var StickyHeadTable = function StickyHeadTable(props) {
|
|
|
10387
10387
|
id: 'status',
|
|
10388
10388
|
label: 'Status',
|
|
10389
10389
|
minWidth: 160,
|
|
10390
|
+
sortable: true,
|
|
10390
10391
|
cell: function cell(row) {
|
|
10391
10392
|
return /*#__PURE__*/React.createElement(IUIFormGroup, null, /*#__PURE__*/React.createElement(IUITypography, {
|
|
10392
10393
|
component: "div",
|
|
@@ -11226,7 +11227,7 @@ var UserList = function UserList(_ref2) {
|
|
|
11226
11227
|
if (isTokenVerified === true) {
|
|
11227
11228
|
var pageNum = page;
|
|
11228
11229
|
var searchParam = searchValue.trim() !== '' ? '&search=' + searchValue : '';
|
|
11229
|
-
var orderingParam = orderBy === '' ? '' : order === 'asc' ? '&ordering=' + orderBy : '&ordering=-' + orderBy;
|
|
11230
|
+
var orderingParam = orderBy === '' ? '' : orderBy === 'status' ? order === 'asc' ? '&ordering=is_active,-has_visited' : '&ordering=-is_active,-has_visited' : order === 'asc' ? '&ordering=' + orderBy : '&ordering=-' + orderBy;
|
|
11230
11231
|
var url = userListUrl.getUser + '?length=' + rowsPerPage + '&page=' + pageNum + searchParam + orderingParam;
|
|
11231
11232
|
if (isSearchingChange) {
|
|
11232
11233
|
var delayDebounceFn = setTimeout(function () {
|