Problème d'affichage du lien des derniers articles dans la barre latérale

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 « J'aime »

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.

Ah! I see it now. It’s the default link to latest which you can’t switch back to. This is a Bug! Nice catch.

Repro steps:

  • create a sidebar item with a link to /latest?order=created
  • make sure “Link to the filtered list” user pref is disabled so the first Topics link goes to /latest
  • click on the /latest?order=created sidebar item
  • then clcik on the Topics link to /Latest and it will not switch back

Possible related bug: "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 « J'aime »