fix: add transport_mode to entry JSON serialisation in all three map templates; note bbox approach in isNearTrack
This commit is contained in:
@@ -28,7 +28,8 @@
|
||||
'date': entry.date|date('d M Y'),
|
||||
'url': entry.url,
|
||||
'hero': hero_url,
|
||||
'force_connect': entry.header.force_connect ? true : false
|
||||
'force_connect': entry.header.force_connect ? true : false,
|
||||
'transport_mode': entry.header.transport_mode ? entry.header.transport_mode : null
|
||||
}]) %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user