From 773554d50aaddc13b5554a01708a1b04133cc0c4 Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Fri, 9 Jul 2021 09:13:23 +0100 Subject: [PATCH] seach by pressing enter --- src/app/pages/search/search.page.ts | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/app/pages/search/search.page.ts b/src/app/pages/search/search.page.ts index 544890ff0..b6676b43a 100644 --- a/src/app/pages/search/search.page.ts +++ b/src/app/pages/search/search.page.ts @@ -463,15 +463,15 @@ export class SearchPage implements OnInit { } } - clearInputRemetente(){ + clearInputRemetente() { this.searchSender = ""; } - clearInputDocumentDate(){ + clearInputDocumentDate() { this.searchDocumentDate = ""; } - clearInputOrganicEntity(){ + clearInputOrganicEntity() { this.searchOrganicEntiry = ""; } @@ -516,7 +516,6 @@ export class SearchPage implements OnInit { classs = 'search-desktop-modal search-submodal' } - const modal = await this.modalController.create({ component: OrganicEntityPage, cssClass: classs, @@ -532,10 +531,10 @@ export class SearchPage implements OnInit { } - async filterDocList(categoryName:string){ + async filterDocList(categoryName:string) { // show all category - if(this. showCategory == categoryName ){ + if(this. showCategory == categoryName ) { this.showSearchDocuments = this.searchDocuments; @@ -563,12 +562,12 @@ export class SearchPage implements OnInit { const ApplicationType = searchDocument.ApplicationType.toString() const Id = searchDocument.Id - if(this.select == false){ + if(this.select == false) { if(this.type == "Agenda") { const modal = await this.modalCtrl.create({ component: ViewEventPage, - componentProps:{ + componentProps: { eventId: Id }, cssClass: 'modal modal-desktop',