mirror of
https://github.com/PerpetualSoftware/pad.git
synced 2026-10-26 22:37:03 +00:00
a53160ec79
* fix(server): a shared collection lists items in the owner's arranged order (BUG-3530) The public share resolve called ListItems with no sort, so readers got its default, pinned and then most recently updated: every edit reshuffled a shared collection, and the owner's manual order never showed. It now orders by sort_order, then oldest first, then id, the manual order every collection page opens in (the web comparator, and the child lists since BUG-3527). The share page renders the payload in the order it arrives. buildItemSort gains `_id` for the last tie-break; spelled with an underscore because a field may be keyed `id` and no field can be keyed `_id`. Claude-Session: https://claude.ai/code/session_01Q9WssCjFuHjSfLABoW4tmS * docs(web): the share page's order note says what the server now sends (BUG-3530) Claude-Session: https://claude.ai/code/session_01Q9WssCjFuHjSfLABoW4tmS