force-app/main/default/pages/SearchVisitor.page
@@ -155,7 +155,7 @@ //2. inovke aws service let contactAwsIds = new Set(); for(var key in contactInfo){ if(contactInfo[key].lastName.includes(searchByLastName)){ if(contactInfo[key].lastName.indexOf(searchByLastName) != -1){ contactAwsIds.add(key); } } @@ -285,6 +285,7 @@ function Trans(){ AWSService.postAWS(staticResources.transactionUrl,AWSService.confirmTrans, JSON.stringify({ "txId":aws_result.txId, "sfRecordId":"", "isSuccess":1 }), function(result){ window.location.reload();