seach by pressing enter

This commit is contained in:
Peter Maquiran
2021-07-09 09:13:23 +01:00
parent e6aad67d5c
commit 773554d50a
+7 -8
View File
@@ -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',