ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [incubator-ponymail] branch master updated: Oops, left off sort
Date Wed, 10 Oct 2018 08:44:36 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail.git


The following commit(s) were added to refs/heads/master by this push:
     new cc2278d  Oops, left off sort
cc2278d is described below

commit cc2278d074e35b37b16c690d2c27b1af2cb68c9d
Author: Sebb <sebb@apache.org>
AuthorDate: Wed Oct 10 09:44:34 2018 +0100

    Oops, left off sort
---
 site/api/mbox.lua | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/site/api/mbox.lua b/site/api/mbox.lua
index 2e94f42..b6ab620 100644
--- a/site/api/mbox.lua
+++ b/site/api/mbox.lua
@@ -185,6 +185,13 @@ function handle(r)
                     must = MUST
                 }
             },
+            sort = {
+                {
+                    epoch = {
+                        order = "asc"
+                    }
+                }
+            },
             size = elastic.MAX_RESULT_WINDOW
         }
 


Mime
View raw message