Skip to content

Commit

Permalink
Revert "feat(gameList): Show the count of leaderboards owned by the d…
Browse files Browse the repository at this point in the history
…ev even for games the dev hasn't done cheevos for (#1550)" (#1577)
  • Loading branch information
Jamiras committed May 10, 2023
1 parent 4878e8b commit ecc94ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app_legacy/Helpers/database/game.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ";
Expand Down

0 comments on commit ecc94ea

Please sign in to comment.