@memberjunction/ng-user-view-grid 0.9.70 → 0.9.72
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.
|
@@ -738,7 +738,18 @@ export class UserViewGridComponent {
|
|
|
738
738
|
// sorting setup
|
|
739
739
|
if (this._viewEntity) {
|
|
740
740
|
const temp = this._viewEntity.ViewSortInfo;
|
|
741
|
-
const kendoSortSettings = temp.map((s) => {
|
|
741
|
+
const kendoSortSettings = temp.map((s) => {
|
|
742
|
+
let dir;
|
|
743
|
+
if (typeof s.direction === 'string')
|
|
744
|
+
dir = s.direction.trim().toLowerCase();
|
|
745
|
+
else if (typeof s.direction === 'number' && s.direction === 1)
|
|
746
|
+
dir = 'asc';
|
|
747
|
+
else if (typeof s.direction === 'number' && s.direction === 2)
|
|
748
|
+
dir = 'desc';
|
|
749
|
+
else
|
|
750
|
+
dir = '';
|
|
751
|
+
return { field: s.field, dir: dir };
|
|
752
|
+
});
|
|
742
753
|
this.sortSettings = kendoSortSettings;
|
|
743
754
|
}
|
|
744
755
|
this.skip = 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-user-view-grid",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.72",
|
|
4
4
|
"description": "MemberJunction: Angular Grid to display dynamic and saved user views for any entity in MemberJunction.",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"@progress/kendo-angular-grid": "^12.1.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@memberjunction/core-entities": "^0.9.
|
|
30
|
-
"@memberjunction/global": "^0.9.
|
|
31
|
-
"@memberjunction/core": "^0.9.
|
|
32
|
-
"@memberjunction/ng-compare-records": "^0.9.
|
|
33
|
-
"@memberjunction/ng-container-directives": "^0.9.
|
|
29
|
+
"@memberjunction/core-entities": "^0.9.63",
|
|
30
|
+
"@memberjunction/global": "^0.9.94",
|
|
31
|
+
"@memberjunction/core": "^0.9.92",
|
|
32
|
+
"@memberjunction/ng-compare-records": "^0.9.92",
|
|
33
|
+
"@memberjunction/ng-container-directives": "^0.9.68",
|
|
34
34
|
"tslib": "^2.3.0"
|
|
35
35
|
},
|
|
36
36
|
"sideEffects": false
|