From ecc94eac43ead07ebfde8d44f3d540daddbd3f2e Mon Sep 17 00:00:00 2001 From: Jamiras <32680403+Jamiras@users.noreply.github.com> Date: Wed, 10 May 2023 07:40:00 -0600 Subject: [PATCH] Revert "feat(gameList): Show the count of leaderboards owned by the dev even for games the dev hasn't done cheevos for (#1550)" (#1577) --- app_legacy/Helpers/database/game.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app_legacy/Helpers/database/game.php b/app_legacy/Helpers/database/game.php index 67abe3c431..b719fde789 100644 --- a/app_legacy/Helpers/database/game.php +++ b/app_legacy/Helpers/database/game.php @@ -289,7 +289,7 @@ function getGamesListByDev( SUM(CASE WHEN ach.Author = :myRRDev THEN ach.TrueRatio ELSE 0 END) AS MyTrueRatio, SUM(CASE WHEN ach.Author != :notMyAchDev THEN 1 ELSE 0 END) AS NotMyAchievements, lbdi.MyLBs,"; - $havingCond = "HAVING MyAchievements > 0 OR MyLBs > 0 "; + $havingCond = "HAVING MyAchievements > 0 "; } else { if ($filter == 0) { // only with achievements $havingCond = "HAVING NumAchievements > 0 ";