mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-25 22:37:18 +10:00
Add code comments about restriction tha this can't be used with origin
This commit is contained in:
parent
2485b46b30
commit
3242f01146
2 changed files with 5 additions and 0 deletions
|
|
@ -22,6 +22,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
|
||||
// NOTE: Keyword search and ordering search results by distance can't be used at the same time. You can turn keyword
|
||||
// search off by changing the keywordFilterConfig parameter active to false in marketplace-custom-config.js
|
||||
const sortSearchByDistance = false;
|
||||
|
||||
// API supports custom processes to be used in booking process.
|
||||
|
|
|
|||
|
|
@ -58,6 +58,9 @@ export const dateRangeFilterConfig = {
|
|||
};
|
||||
|
||||
// Activate keyword filter on search page
|
||||
|
||||
// NOTE: If you are ordering search results by distance the keyword search can't be used at the same time.
|
||||
// You can turn off ordering by distance in config.js file
|
||||
export const keywordFilterConfig = {
|
||||
active: true,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue