AquaMail Forum

English - Android => General Discussion => Topic started by: Jesús on May 30, 2017, 05:17:21 pm

Title: Bug sorting date
Post by: Jesús on May 30, 2017, 05:17:21 pm
Hi!, i have a problem when i show emails by 100 and not for days
(http://i.imgur.com/SLST8KN.jpg)

(http://i.imgur.com/17EhPNS.jpg)

but if put show last 10 or 30 days all is ok
Title: Re: Bug sorting date
Post by: Kostya Vasilyev on May 30, 2017, 11:23:44 pm
http://www.aqua-mail.com/?p=2963
Title: Re: Bug sorting date
Post by: Jesús on May 31, 2017, 01:02:53 am
Hi again!,That was what i was doing But the bad thing is that we have to return for many days back for some emails
The account is not hotmail, is from own server.

But we also did a migration from 1and1 to another server on that date
Why this happen?

Thanks (sorry for my english too, i'm from spain and my english is moderate.

P.S.: I love your app  ;D ;D
Title: Re: Bug sorting date
Post by: StR on May 31, 2017, 04:59:58 am
It looks like the process of migration that you used did not preserve the natural order of the messages. (I.e. the messages were copied from one server to another out of order.)
Hence, when the "new" server receives request for 100 most recent messages, it returns a 7-month old message that was added to that server after the messages from the last week.
When you request not the most recent messages but the most recent dates, the request to the server (and server's response) is done by date.