mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-12 23:31:02 +00:00
fe24dd03c5
The share link has counted its map stops through the whole journey since #1962, while the owner's journal still restarted the count every day, so the same stop read 66 on the link and 6 in the journal. Both views now take their stops from one helper, journeyMapStops: located, non-skeleton entries in the server's reading order (date, sort_order, id), numbered across the journey. A draft keeps its pin in the journal but gets no number, so the published stops after it carry exactly the numbers the share link shows. The public entry query gains the id tiebreak the owner query already had, so entries sharing a sort_order come back in the same order on both sides. Closes #2886