Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
timestamp_created -> timestamp_update (#2817)
rwidom1024974d80ef
diff --git a/catalog/dags/providers/provider_api_scripts/europeana.py b/catalog/dags/providers/provider_api_scripts/europeana.pyindex 10f586258..3b93e3402 100644--- a/catalog/dags/providers/provider_api_scripts/europeana.py+++ b/catalog/dags/providers/provider_api_scripts/europeana.py@@ -199,7 +199,7 @@ class EuropeanaDataIngester(ProviderDataIngester):start_timestamp = start_timestamp.replace("+00:00", "Z")end_timestamp = end_timestamp.replace("+00:00", "Z")- return f"timestamp_created:[{start_timestamp} TO {end_timestamp}]"+ return f"timestamp_update:[{start_timestamp} TO {end_timestamp}]"def get_next_query_params(self, prev_query_params) -> dict:if not prev_query_params:diff --git a/catalog/tests/dags/providers/provider_api_scripts/test_europeana.py b/catalog/tests/dags/providers/provider_api_scripts/test_europeana.pyindex 65434ca2d..270a59752 100644--- a/catalog/tests/dags/providers/provider_api_scripts/test_europeana.py+++ b/catalog/tests/dags/providers/provider_api_scripts/test_europeana.py@@ -33,7 +33,7 @@ def test_derive_timestamp_pair(ingester):# The timestamps below depend on the ``FROZEN_DATE`` constant# defined above.assert ingester.base_request_body["query"] == (- "timestamp_created:[2018-01-15T00:00:00Z TO 2018-01-16T00:00:00Z]"+ "timestamp_update:[2018-01-15T00:00:00Z TO 2018-01-16T00:00:00Z]")