mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 13:36:48 +00:00
676f6233ed
The undo wrote a new place from nine of its fields and put it on its days as a bare stop, so notes, website, phone, hours, picture, the visit times, day notes and travellers were gone while the toast said it was undone. It now writes every field the place had and plans each visit again with its times, note, end of day, route flag, travellers and leg modes, and casts the own rating again. The server takes a booked night, its booking and expense, linked expenses, file links, other members' ratings and an uploaded picture down with the place, and writing the place again brings none of that back. Such a delete is no longer offered for undo. Undo steps that name a deleted place are dropped at the delete instead of failing later, and adding a place, moving categories and the phone reorder and optimize now carry their place ids for that. Taking a stop off a day and clearing a day undo with the visit details too. The stays are read again when a deleted place had one, here and for collaborators. Refs #2604