@adins/ucsearch 2.9.21 → 2.9.23
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/README.md +6 -0
- package/esm2020/lib/ucsearch.component.mjs +7 -4
- package/fesm2015/adins-ucsearch.mjs +6 -3
- package/fesm2015/adins-ucsearch.mjs.map +1 -1
- package/fesm2020/adins-ucsearch.mjs +6 -3
- package/fesm2020/adins-ucsearch.mjs.map +1 -1
- package/lib/ucsearch.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -687,7 +687,7 @@ class UCSearchComponent {
|
|
|
687
687
|
let rowPerPage = this.pageSize;
|
|
688
688
|
if (IsExportExcel)
|
|
689
689
|
rowPerPage = 9999;
|
|
690
|
-
this.search(this.apiUrl, this.pageNow, rowPerPage, order, this.arrCrit, IsExportExcel, ExtFile);
|
|
690
|
+
this.search(this.apiUrl, this.pageNow, rowPerPage, order, true, this.arrCrit, IsExportExcel, ExtFile);
|
|
691
691
|
}
|
|
692
692
|
reset() {
|
|
693
693
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -697,7 +697,7 @@ class UCSearchComponent {
|
|
|
697
697
|
yield this.initiateForm();
|
|
698
698
|
});
|
|
699
699
|
}
|
|
700
|
-
search(apiUrl, pageNo, rowPerPage, orderBy, addCrit = new Array(), IsExportExcel = false, extFile = "") {
|
|
700
|
+
search(apiUrl, pageNo, rowPerPage, orderBy, isClickSearch, addCrit = new Array(), IsExportExcel = false, extFile = "") {
|
|
701
701
|
return __awaiter(this, void 0, void 0, function* () {
|
|
702
702
|
let request = new RequestCriteriaObj();
|
|
703
703
|
let arrCrit = new Array();
|
|
@@ -864,7 +864,10 @@ class UCSearchComponent {
|
|
|
864
864
|
arrCrit.push(this.searchInput.addCritInput[i]);
|
|
865
865
|
}
|
|
866
866
|
}
|
|
867
|
-
|
|
867
|
+
if (isClickSearch) {
|
|
868
|
+
this.persistCrit = arrCrit;
|
|
869
|
+
}
|
|
870
|
+
request.criteria = this.persistCrit;
|
|
868
871
|
request.integrationObj = null;
|
|
869
872
|
if (this.searchInput.isJoinExAPI) {
|
|
870
873
|
request.integrationObj = this.searchInput.integrationObj;
|