From 97da6dd066abcd5dd03e96ea0100c957704b9a78 Mon Sep 17 00:00:00 2001 From: Jenni Nurmi Date: Fri, 18 Jan 2019 13:20:23 +0200 Subject: [PATCH] Add note to sortSearchByDistance config --- src/config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/config.js b/src/config.js index 83b09cd5..e9da37b7 100644 --- a/src/config.js +++ b/src/config.js @@ -19,6 +19,8 @@ const i18n = { }; // Should search results be ordered by distance to origin. +// NOTE: If this is set to true add parameter 'origin' to every location in default-location-searches.js +// Without the 'origin' parameter, search will not work correctly const sortSearchByDistance = false; // API supports custom processes to be used in booking process.