From 6d4d75f2bed848e6d6e8419d8173c8d3d05f9580 Mon Sep 17 00:00:00 2001 From: "vishalsingh.qlo325" Date: Tue, 21 May 2024 16:52:07 +0530 Subject: [PATCH] Fixed: Duplicate notification from same order due to rooms --- classes/Notification.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/Notification.php b/classes/Notification.php index 2c524ab37..fc46b176b 100644 --- a/classes/Notification.php +++ b/classes/Notification.php @@ -75,7 +75,8 @@ class NotificationCore LEFT JOIN '._DB_PREFIX_.'htl_booking_detail hbd ON (hbd.id_order = o.id_order) WHERE o.`id_order` > '.(int)$id_last_element. Shop::addSqlRestriction(false, 'o'). HotelBranchInformation::addHotelRestriction(false, 'hbd').' - ORDER BY `id_order` DESC + GROUP BY o.`id_order` + ORDER BY o.`id_order` DESC LIMIT 5'; break;