From ff826f59866e32c004027cd41d9a0291d07e0b7f Mon Sep 17 00:00:00 2001 From: Iain Collins Date: Sat, 9 Nov 2024 01:35:40 +0000 Subject: [PATCH] Change default query window to last 30 days to match new API default --- lib/consts.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/consts.js b/lib/consts.js index b83c476..781a05a 100644 --- a/lib/consts.js +++ b/lib/consts.js @@ -11,7 +11,7 @@ const COLONIA_COORDINATES = [-9530.5, -910.28125, 19808.125] // These defaults should ideally match the API defaults for best performance. // If these are changed in future, the defaults for the API should be changed // to match, or more explicitly caching strategy implemented, for performance. -const COMMODITY_FILTER_MAX_DAYS_AGO_DEFAULT = 90 +const COMMODITY_FILTER_MAX_DAYS_AGO_DEFAULT = 30 const COMMODITY_FILTER_FLEET_CARRIER_DEFAULT = 'included' const COMMODITY_FILTER_MIN_VOLUME_DEFAULT = 1 const COMMODITY_FILTER_LOCATION_DEFAULT = 'Any location' diff --git a/package.json b/package.json index aff49f5..8491417 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ardent-www", - "version": "0.96.0", + "version": "0.97.0", "description": "Ardent Industry", "main": "index.js", "scripts": {