-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
3.3.17
-
None
In viewtopic, inline attachments are sorted by their attach_id.
In other places where posts can be seen, attachments are ordered by their upload time, unlike in viewtopic. When a group of attachments are uploaded at one time, they all get the same filetime, so they can sort unexpectedly differently than the way they sort in the viewtopic (by attach_id).
At best, this just shows attachments out of sequence. At worst, it can show log-in gated attachments to unauthorized viewers when using bbcodes that can hide content like attachments from non-members.
This is happening in topic review, search results (as post), various MCP and UCP post/pm/topic pages.
They should all follow the sorting order from viewtopic - as the post author intended.
In attached images - one image from topic view shows attachments 1, then 2. But if you look st the topic review (when quoting the post) the attachments are in wrong order.

