@adins/ucsearch 3.0.6 → 3.0.8
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.
|
@@ -685,10 +685,12 @@ class UCSearchComponent {
|
|
|
685
685
|
}
|
|
686
686
|
let order = null;
|
|
687
687
|
if (this.configuration.orderby != null) {
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
688
|
+
if (this.configuration.orderby.key != "" && this.configuration.orderby.value != "") {
|
|
689
|
+
order = {
|
|
690
|
+
key: this.configuration.orderby.key,
|
|
691
|
+
value: this.configuration.orderby.value
|
|
692
|
+
};
|
|
693
|
+
}
|
|
692
694
|
}
|
|
693
695
|
this.pageNow = 1;
|
|
694
696
|
let rowPerPage = this.pageSize;
|
|
@@ -898,7 +900,7 @@ class UCSearchComponent {
|
|
|
898
900
|
request.integrationObj = this.searchInput.integrationObj;
|
|
899
901
|
}
|
|
900
902
|
this.isSearch = true;
|
|
901
|
-
if (this.searchInput.dataInput !== undefined) {
|
|
903
|
+
if (this.searchInput.dataInput !== undefined && Object.keys(this.searchInput.dataInput).length !== 0) {
|
|
902
904
|
bodyList = this.searchInput.dataInput.bodyList;
|
|
903
905
|
fileName = this.searchInput.dataInput.title;
|
|
904
906
|
headerList = this.searchInput.dataInput.headerList;
|