You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2020/09/10 20:05:26 UTC
[incubator-ponymail-foal] branch master updated: epoch should be in
descending order
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
The following commit(s) were added to refs/heads/master by this push:
new a532819 epoch should be in descending order
a532819 is described below
commit a532819e51c86ae38b001f0f0bee346b4550624a
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Thu Sep 10 22:03:01 2020 +0200
epoch should be in descending order
---
server/plugins/mbox.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/plugins/mbox.py b/server/plugins/mbox.py
index 108f35d..6dcd562 100644
--- a/server/plugins/mbox.py
+++ b/server/plugins/mbox.py
@@ -308,7 +308,7 @@ async def query(
client=session.database.client,
query={
"query": {"bool": query_defuzzed},
- "sort": [{"epoch": {"order": "asc"}}],
+ "sort": [{"epoch": {"order": "desc"}}],
},
):
doc = hit["_source"]