From 61bd3c1d919ff48b5010be2d50d122662abf60bc Mon Sep 17 00:00:00 2001 From: Lamarcke Date: Mon, 25 Mar 2024 00:36:59 -0300 Subject: [PATCH] Modify ordering to show main games first --- search/games/search_games.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search/games/search_games.go b/search/games/search_games.go index 3bab663..f9bc7f7 100644 --- a/search/games/search_games.go +++ b/search/games/search_games.go @@ -134,7 +134,7 @@ func buildManticorePaginationString(dto *schema.GameSearchRequestDto) string { } func buildManticoreOrderString() string { - return "ORDER BY num_likes DESC, num_views DESC" + return "ORDER BY category ASC, num_likes DESC, num_views DESC" } func buildManticoreSearchRequest(dto *schema.GameSearchRequestDto) (string, error) {