From 1cdf5ae8c2b4040403610a62a5cb2ce248224510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 13 Dec 2018 10:06:26 +0100 Subject: [PATCH] add sorting by platform first MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- src/builds.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/builds.js b/src/builds.js index 25cb073..5700457 100644 --- a/src/builds.js +++ b/src/builds.js @@ -39,6 +39,7 @@ class Builds { async getBuilds (pr) { const builds = await this.builds.chain() .find({pr}) + .simplesort('platform') .simplesort('id') .data() /* strip the $loki attribute */