mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
fix(planner): a booked hotel stays in the place list when road trip stops are hidden in Days
Since 4.3.0 every lodging booking types its place as 'hotel', and 'hotel' is one of the road trip stop types. With "Show in Days too" switched off, Days dropped every such place from the trip's place list, so a hotel vanished from the sidebar, from the booking's own place picker and from the Days map the moment it was booked, and a click on it in the day list found nothing. Nothing was deleted: road trip mode kept showing it. Days now leaves out only road trip stops nobody booked. A lodging place stays, and so does any place a stay or a booking points at, on the desktop and on the phone. Trips planned on 4.3.1 show their hotels again without any change to their data. An imported GPX or KML track is no longer offered as the place of a stay, in the booking form, the day's hotel picker and the phone's sheets. A stay that already names a track keeps showing it.
This commit is contained in:
@@ -77,8 +77,10 @@ A few details worth knowing:
|
||||
placed, and the booking simply rides along with it.
|
||||
- Moving the booking to a different check-in day moves its stop with it. Deleting the
|
||||
booking removes the stop it created, and leaves a stop you placed yourself standing.
|
||||
- Hotels are service stops, so **Show in Days too** under **Service stops** in the Road
|
||||
Trip settings also decides whether they appear in the places list.
|
||||
- Hotels count as service stops on the drive, so **Show in Days too** under **Service
|
||||
stops** in the Road Trip settings decides whether the hotel's stop shows in the day list.
|
||||
The hotel itself always stays in the places list, on the Days map and in the booking
|
||||
forms, whatever the switch says.
|
||||
|
||||
Nights booked before this existed are given their stop when the server upgrades, so trips
|
||||
you already have show their hotels on the drive without anyone re-saving anything. Trips
|
||||
|
||||
@@ -108,7 +108,7 @@ Driving settings includes **Show hazard areas**, off by default and shared by th
|
||||
- [Reservations-and-Bookings](Reservations-and-Bookings)
|
||||
- [Admin-Addons](Admin-Addons)
|
||||
|
||||
Driving settings also controls **Show in Days too** under **Service stops**. It is on by default and applies to every service stop in the trip, including existing stops. Turn it off to keep service stops exclusively in the Roadtrip view and omit them from the normal Days view and its route. Turning it on restores their visibility without creating duplicates. The setting is shared with fellow travellers and can also be changed through `update_roadtrip_settings` using `roadtrip_service_stops_in_days`.
|
||||
Driving settings also controls **Show in Days too** under **Service stops**. It is on by default and applies to every service stop in the trip, including existing stops. Turn it off to keep service stops exclusively in the Roadtrip view and omit them from the normal Days view and its route. Hotels, and any place a booking points at, stay in the places list and on the Days map either way. Turning it on restores their visibility without creating duplicates. The setting is shared with fellow travellers and can also be changed through `update_roadtrip_settings` using `roadtrip_service_stops_in_days`.
|
||||
|
||||
**Start and end each day at your stay**, under **Route line** in Driving settings, starts each Roadtrip day after a booked night at that hotel and ends each day before one there. It is off by default and shared by the trip. The hotel rows are drawn from the booking, not stored as stops, so the Days view stays as it is and switching it off gives the drive exactly as before. On the phone it is the one switch in **Driving figures**. See [Road-Trip](Road-Trip#starting-and-ending-the-day-at-the-stay).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user