Add "orderdesc" modification to advanced search

AI-generated summary

Users are discussing the addition of an orderdesc modifier to Discourse’s advanced search to allow descending order for any sort field (e.g., orderdesc:views, orderdesc:likes). meglio proposes this as a universal solution for reverse sorting, noting potential use cases like identifying low-engagement content or improving SEO. riking suggests using order:-views or order:-latest syntax instead. sam expresses skepticism about the need for orderdesc:likes or orderdesc:views, but is open to adding order:earliest for rare cases. meglio counters that unexpected use cases may arise, advocating for a consistent operator. chadwhitacre supports the feature for managing forum “inbox” workflows by sorting posts from least to most recent. riking offers the Unanswered filter as an alternative and mentions a PR adding “Oldest Update” sorting, seeking better naming. Canapin shares personal experience searching within topics and notes confusion between “Latest Post” and “Latest Topic” sorting, suggesting clearer chronological options (ascending/descending) would be helpful — even if used mostly for fun. The thread highlights demand for flexible, intuitive sorting controls beyond the current defaults.

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.

포럼 트래픽 처리를 위한 “인박스” 사용 사례를 지원하기 위해 이 기능이 필요합니다. 게시된 지 가장 오래된 순서로 정렬하여(응답 대기 중인 게시물 큐를 순서대로 처리할 수 있도록) 검색을 수행하고 싶은데, 현재는 가장 최근에 게시된 순서로만 정렬이 가능한 것 같습니다(제가 아는 한).

미답변 필터(/latest?max_posts=1)를 사용하는 것을 고려해 보시는 것이 좋습니다.

다만, 이 정렬 옵션을 추가하기 위한 PR도 작성했습니다:

드롭다운 메뉴에 표시될 이름에 대한 제안을 받고 있는데, "가장 오래된 업데이트"라는 이름은 별로 마음에 들지 않습니다.

2개의 좋아요

토픽 내에서 검색할 때 결과를 오래된 순(오래된 것부터 최신 순, 향후 메타 검색을 위해 이 용어를 추가…)으로 정렬하는 방법을 찾고 있었습니다.

“가장 오래된 게시글” 기준으로 정렬하는 옵션을 찾을 수 없었습니다(현재는 **최신 게시글**만 있습니다). 다만 “최신 토픽” 기준으로 정렬을 시도해 보니 정상 작동하더군요.

논리는 이해가 되지만, 이 특정 상황에서는 용어가 직관적이지 않다고 생각합니다.

저에게 있어 시간 순(오래된 순/최신 순) 선택 옵션은 좋은 추가 기능이 될 것 같습니다. 가끔 그렇게 해보고 싶을 때가 있고, 허용하는 다른 포럼에서는 실제로 그렇게 해왔습니다. 다만 특정하고 흥미로운 정보를 찾는 것보다는 재미로 하는 경우가 더 많습니다.

또한, 기본값인 "관련도"와 비교했을 때 사람들이 “최신” 기준으로 정렬하는 빈도가 얼마나 되는지 궁금합니다. 저는 많은 포럼에서 “최신” 기준으로 정렬을 자주 사용합니다.