Re: BUG #17924: Inverted behavior of "Date" and "Reverse Date" when searching a mailbox archive

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: buschmann(at)nidsa(dot)net
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17924: Inverted behavior of "Date" and "Reverse Date" when searching a mailbox archive
Date: 2023-05-07 14:05:08
Message-ID: 4144338.1683468308@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> When changing the order of the result set from "Rank" to "Reverse Date" I
> observed that "Date" gives the results from newest to oldest while "Reverse
> Date" gives them from oldest to newest.
> This seems to me a mismatch and quite confusing.
> The semantics of Date and Reverse Date should be corrected (exchanged)

It's been like that for a decade or two, and you are the first to
complain AFAIR. Changing it at this point would doubtless add a
lot more confusion than it subtracts.

We could perhaps change to some other terms entirely, like
"Newest First" and "Oldest First", but I'm not convinced that
that's an improvement either.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Hans Buschmann 2023-05-07 14:11:48 AW: BUG #17924: Inverted behavior of "Date" and "Reverse Date" when searching a mailbox archive
Previous Message PG Bug reporting form 2023-05-07 10:27:27 BUG #17924: Inverted behavior of "Date" and "Reverse Date" when searching a mailbox archive