Set an explicit filter-lang for cql searches #18
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The new pgstac backend supports both cql-json and cql2-json. This
version of Explorer generates cql-json and needs to specify the version
so pgstac interprets it correctly.
Note that the current DEP deployment works without this patch, due to a default
setting in pgstac, but that may change intermittently due to stac-utils/pgstac#77 and
this patch would ensure it works regardless of the default setting.
You may also consider updating from the staging api endpoint to our
production endpoint, which is generally more stable:
PlanetaryComputerDataCatalog/.github/workflows/temporary_build.yaml
Line 19 in fee06b4