사이드바에서 최신?ordered=created 링크 생성 문제

I am trying to show a page of latest posts (by created date) in the sidebar i followed the recommendation in this post thanks to @th21

I added a link with /latest?order=created

and it works, however I cannot switch back to latest activity (which is the homepage). Is there a better way of achieving this? or is this a bug?

1개의 좋아요

I tried to fix this by editing the Latest topics link to / which works but breaks the ability to show the new posts dot next to it and the text being highlighted

Were you able to figure this out in the end? I am not entirely sure I understand the problem you are describing. If you still have a problem could you share a short screencast demonstrating it, or show me a link (feel free to chat it at me) so I can try it for myself?

Nope still exists, add a link with /latest?order=created then try get back to latest topics

Hmm.. I don’t have repro. I created a custom section here on meta with /latest and /latest?order=created and am able to click between them.

아! 이제 보였어요. 최신 게시글로 연결되는 기본 링크인데, 이걸로 되돌아갈 수 없어요. 이건 Contribute > Bug 입니다! 잘 찾아주셨네요.

재현 방법:

  • /latest?order=created 링크가 있는 사이드바 항목을 생성합니다.
  • “필터링된 목록으로 링크” 사용자 설정이 비활성화되어 첫 번째 Topics 링크가 /latest로 가도록 확인합니다.
  • /latest?order=created 사이드바 항목을 클릭합니다.
  • 그런 다음 /Latest로 가는 Topics 링크를 클릭하면 원래 상태로 되돌아가지 않습니다.

관련된 버그일 수 있음: "Latest" on forum home displays last column sort

To me, that feels like another occurrence of the problem that links in the sidebar do not remove any prior query parameters.

When I add two links with different parameters, it works. For example, /latest?order=activity and /latest?order=created. But topics takes me to the list as I had ordered it before. So when I start at /latest?order=created, go to /c/support/6 and use “topics” from the sidebar to get back to latest the “order=created” parameter is still there.

Last year, I reported the parameter being sticky when the group page was filtered for a username.

In his reply, Jammy mentioned that he noticed it on ?status=deleted, and I mentioned ?order=votes.

I also mentioned sticky filters here

I see why one might say it’s a feature for the /filter route. Maybe it’s helpful that what you had filtered before is still there when you use the filter link in the sidebar later. But in the context of topic lists like /latest or the group list or the review queue, I think this is confusing. I don’t want a filtered group list, and I don’t want a filtered review queue after using the link in the sidebar.

The user directory is the only exception I can think of that, even if you leave it on /u?order=post_count&period=daily, opens on /u?order=likes_received when you use the link in the sidebar.

2개의 좋아요