From 463365beb849283878b29b76524da1c38e099476 Mon Sep 17 00:00:00 2001 From: Vijaivir Dhaliwal <91633223+vijaivir@users.noreply.github.com> Date: Wed, 18 Dec 2024 16:23:49 -0800 Subject: [PATCH] LCSD-6363: Added validation for Denied event status (#4341) added validation for Denied event status --- cllc-public-app/Controllers/SpecialEventsController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cllc-public-app/Controllers/SpecialEventsController.cs b/cllc-public-app/Controllers/SpecialEventsController.cs index 68c6b4bd5..aed2ac250 100644 --- a/cllc-public-app/Controllers/SpecialEventsController.cs +++ b/cllc-public-app/Controllers/SpecialEventsController.cs @@ -1761,7 +1761,7 @@ public IActionResult GetPolicePendingReview([FromQuery] int pageIndex = 0, [From } // Application Status == Pending Review && Police Decision == Under Review - var result = GetPagedSepSummaries($"_adoxio_policejurisdictionid_value eq {userAccount._adoxioPolicejurisdictionidValue} and adoxio_policeapproval eq {(int?)ApproverStatus.PendingReview} and statuscode ne {(int?)EventStatus.Cancelled}", pageIndex, pageSize, sort, sortdir); + var result = GetPagedSepSummaries($"_adoxio_policejurisdictionid_value eq {userAccount._adoxioPolicejurisdictionidValue} and adoxio_policeapproval eq {(int?)ApproverStatus.PendingReview} and statuscode ne {(int?)EventStatus.Cancelled} and statuscode ne {(int?)EventStatus.Denied}", pageIndex, pageSize, sort, sortdir); return new JsonResult(result);