From 1cd79a22925c42ef2faa3b7f473f91678fbfb477 Mon Sep 17 00:00:00 2001 From: Sude Date: Sun, 17 Nov 2013 11:01:35 +0200 Subject: [PATCH] Sort by title when using "--game free" --- src/downloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/downloader.cpp b/src/downloader.cpp index 376f437..2537908 100644 --- a/src/downloader.cpp +++ b/src/downloader.cpp @@ -1303,7 +1303,7 @@ std::vector< std::pair > Downloader::getFreeGames() Json::Value root; Json::Reader *jsonparser = new Json::Reader; std::vector< std::pair > games; - std::string json = this->getResponse("https://secure.gog.com/games/ajax?a=search&f={\"price\":[\"free\"]}&p=1&t=all"); + std::string json = this->getResponse("https://secure.gog.com/games/ajax?a=search&f={\"price\":[\"free\"],\"sort\":\"title\"}&p=1&t=all"); // Parse JSON if (!jsonparser->parse(json, root))