From 0bf96e86b68bf457c67729b676bcb32e2f326686 Mon Sep 17 00:00:00 2001 From: "sas.fajri" Date: Fri, 24 Apr 2026 11:04:13 +0700 Subject: [PATCH] Align kelainan fitness fields --- .../mockup/resumeindividufacelift/Resume.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/application/controllers/mockup/resumeindividufacelift/Resume.php b/application/controllers/mockup/resumeindividufacelift/Resume.php index 1e7ec7a5..4c1219e7 100644 --- a/application/controllers/mockup/resumeindividufacelift/Resume.php +++ b/application/controllers/mockup/resumeindividufacelift/Resume.php @@ -378,15 +378,8 @@ class Resume extends MY_Controller kelainans.Mcu_KelainanName, kelainans.Mcu_KelainanClasification, kelainans.Mcu_KelainanGroupName, - IFNULL(SUBSTRING_INDEX( - GROUP_CONCAT( - IFNULL(kelainans.Mcu_FitnessCategoryName, '') - ORDER BY IFNULL(kelainans.Mcu_FitnessCategoryLevel, -1) DESC - SEPARATOR '||' - ), - '||', - 1 - ), '') AS Mcu_FitnessCategoryName + IFNULL(MIN(kelainans.Mcu_FitnessCategoryLevel), 0) AS Mcu_FitnessCategoryLevel, + IFNULL(MIN(NULLIF(kelainans.Mcu_FitnessCategoryName, '')), '') AS Mcu_FitnessCategoryName FROM ( SELECT kl.T_KelainanLabID AS id,