Closed berekuk closed 2 years ago
getServerSideProps from /index and /capture passes platformsWithLabels array of objects, and commonDisplay code expects an array of objects.
getServerSideProps
platformsWithLabels
But when forecastingPlatforms is passes in URL, it's just a string of "Foo|Bar|Baz" which is not handled anywhere as far as I can see.
So, any URL such as https://metaforecast.org/?forecastingPlatforms=Betfair doesn't really filter by forecastingPlatforms, and also doesn't show platforms in advanced options' select widget.
getServerSideProps
from /index and /capture passesplatformsWithLabels
array of objects, and commonDisplay code expects an array of objects.But when forecastingPlatforms is passes in URL, it's just a string of "Foo|Bar|Baz" which is not handled anywhere as far as I can see.
So, any URL such as https://metaforecast.org/?forecastingPlatforms=Betfair doesn't really filter by forecastingPlatforms, and also doesn't show platforms in advanced options' select widget.