Add "orderdesc" modification to advanced search

While we can choose which field to order by when searching in advanced mode:

  • order:views
  • order:latest
  • order:likes

… we cannot choose whether we want to order ascending or descending.

Adding orderdesc modifier would easily make it possible:

  • orderdesc:views
  • orderdesc:latest
  • orderdesc:likes

order:likes is already descending, right?

So what you want is “the opposite of the normal order that this term means”.

Not sure about this, but… How about order:-views to start at 0 and go up, while order:-latest starts at the oldest?

struggling to think of use cases for orderdesc:likes or orderdesc:views, though I am open to possibly adding order:earliest (its quite rare to need though)

「いいね!」 2

We should find a way to allow for opposite ordering for any ordering type (kind of a universal way of doing it), then easier to remember and use.

You never know what one could come up with :slight_smile:

I’d use orderdesk:likes to identify which type of material is the worst in terms of people likes and not create similar topics, or not include them in the lists.

orderdesc:views might possibly indicate topics that need some more useful information to get more attractions from organic search.

I think there might be more use-cases I can’t think of, why not just make it possible with a single operator.

I want this feature in order to support an “inbox” use case for processing forum traffic: I have a search that I want to sort by least recently posted (so that I can work down the queue of posts awaiting a response), and I can only get most recently posted (afaict).

You might want to consider using the Unanswered filter: /latest?max_posts=1.

However, I did also write a PR to add this sorting option:

Taking suggestions as to what the name in the dropdown menu should be, I don’t really like “Oldest Update”.

「いいね!」 2

トピック内で検索する際に、結果を古い順(昇順の時系列順、これは後でメタで検索するための用語です…)に並べ替える方法を探していました。

「古い投稿順に並べ替え」(「最新の投稿」しかありません:https://unicyclist.com/search?q=%40Canapin%20topic%3A69519%20order%3Alatest)は見つかりませんでしたが、「最新のトピック順に並べ替え」を試したところ、うまくいきました

ロジックは理解できたと思いますが、この特定のケースでは言葉が少し直感的ではありません。

昇順/降順の時系列順の選択肢があれば、私にとっては良い追加機能になるでしょう。時々それを試しますが、他のフォーラムでも可能であれば行いました。特定の興味深い情報を探すというよりは、楽しみのために行うことが多いです。

また、デフォルトの「関連性」と比較して、人々が「最新」で並べ替える頻度がどれくらいなのか疑問に思っています。私は多くのフォーラムで「最新」で並べ替えることをよく利用します。