Variant
worldmonitor.app (Full / Geopolitical)
Affected area
Market Radar / Crypto
Bug description
Summary
The sanctions pressure panel does not pass the timeRange parameter to the API, causing all time-sensitive metrics to be incorrect.
Bug
The URL contains timeRange=7d but the API call is:
/api/sanctions/v1/list-sanctions-pressure?max_items=30
No timeRange param is passed. As a result:
- newEntryCount is always 0 because it compares against the dataset date (March 27) instead of the user's selected window
- Vessels, aircraft, and countries counts also ignore the timeRange filter
Environment
- Tested on worldmonitor.app
Steps to reproduce
Steps to Reproduce
- Open the sanctions panel
- Set timeRange to 7d
- Observe "New: 0" despite entries existing within that window
- Inspect the network request — no timeRange param in the API call
Expected behavior
The API call should include the timeRange parameter and newEntryCount should reflect entries added within the selected window.
Screenshots / Console errors
No response
Browser & OS
Chrome 120 OS.
Variant
worldmonitor.app (Full / Geopolitical)
Affected area
Market Radar / Crypto
Bug description
Summary
The sanctions pressure panel does not pass the timeRange parameter to the API, causing all time-sensitive metrics to be incorrect.
Bug
The URL contains timeRange=7d but the API call is:
/api/sanctions/v1/list-sanctions-pressure?max_items=30
No timeRange param is passed. As a result:
Environment
Steps to reproduce
Steps to Reproduce
Expected behavior
The API call should include the timeRange parameter and newEntryCount should reflect entries added within the selected window.
Screenshots / Console errors
No response
Browser & OS
Chrome 120 OS.