From 085b9fd5cb0a586cfdeaa85639ce6304156e21cb Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Thu, 6 Nov 2025 18:10:35 +0530 Subject: [PATCH] CHANGE_help_desk_tickets - VADIVEL J 2025-11-05 18:10 --- app/Controllers/NotificationController.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Controllers/NotificationController.php b/app/Controllers/NotificationController.php index 0c3890f..88306b8 100755 --- a/app/Controllers/NotificationController.php +++ b/app/Controllers/NotificationController.php @@ -246,7 +246,10 @@ class NotificationController extends AdminController // Insert file attachment record if ($this->MailAttachmentModel->insert($data)) { // Retrieve active attachments to return in response - $attachment_data = $this->MailAttachmentModel->where('is_active', 1)->findAll(); + $attachment_data = $this->MailAttachmentModel + ->where('notification_id',$find_notification['id']) + ->where('is_active', 1)->findAll(); + return $this->respond([ 'status' => true, 'code' => 200,