Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Post History

75%
+4 −0
Q&A Answers order is changed when we access a specific answer by its direct link

Not sure if this is a bug, or status-by-design (for now, tagged as bug just in case) When accessing an answer by its direct link, its order (relative to all other answers) is changed. Example: ...

2 answers  ·  posted 3y ago by hkotsubo‭  ·  last activity 3y ago by Monica Cellio‭

#2: Post edited by user avatar luap42‭ · 2021-08-12T13:29:46Z (over 3 years ago)
#1: Initial revision by user avatar hkotsubo‭ · 2021-08-12T13:13:41Z (over 3 years ago)
Answers order is changed when we access a specific answer by its direct link
<sup>Not sure if this is a bug, or status-by-design (for now, tagged as bug just in case)</sup>

---

When accessing an answer by its direct link, its order (relative to all other answers) is changed.

Example: if I go to [this question](https://meta.codidact.com/posts/276161), the answers are displayed by Score (*I guess this is the default?*), with highest scores first. If I click on the sort options ("Score" or "Active"), it all works well.

But if I access that post using [a direct link to a specific answer](https://meta.codidact.com/posts/276161/276162#answer-276162), that answer is displayed before all the others, even though it has the lowest score. That happens even if I explicitly choose to sort the answers by Score: clicking on "Score", the link changes to [this](https://meta.codidact.com/posts/276161/276162?sort=score), and it still shows that specific answer (which has a lower score) before the others with higher scores.

That happens only if the link contains an answer ID. Summary:

- Links to question: OK (answers displayed in correct order)
    - `https://meta.codidact.com/posts/276161`
    - `https://meta.codidact.com/posts/276161?sort=score`
- Links to specific answer: Not OK (the specific answer is displayed before the other answers, although it has a lower score)
    - `https://meta.codidact.com/posts/276161/276162#answer-276162`
    - `https://meta.codidact.com/posts/276161/276162?sort=score`

---
Is it intentional that the display order of answers is changed like that when we access it by an answer's direct link?