diff --git a/src/flask_covid19/blueprints/data_ecdc/ecdc_views.py b/src/flask_covid19/blueprints/data_ecdc/ecdc_views.py index 9ea7c67d987e88111cf7fa1f9fe992ba38eb89c3..5f3bcf69740aee06200e9550ef3c527a6889a6ef 100644 --- a/src/flask_covid19/blueprints/data_ecdc/ecdc_views.py +++ b/src/flask_covid19/blueprints/data_ecdc/ecdc_views.py @@ -74,7 +74,7 @@ def url_ecdc_date_reported_all(page=1): def url_ecdc_date_reported_one_notification_rate(europe_date_reported_id, page=1): page_info = WebPageContent('Europe', "date_reported") europe_date_reported = EcdcDateReported.get_by_id(europe_date_reported_id) - page_data = EcdcData.find_by_date_reported_notification_rate(europe_date_reported, page) + page_data = EcdcData.get_by_date_reported_notification_rate(europe_date_reported, page) return render_template( 'ecdc/date_reported/notification/ecdc_date_reported_one_notification_rate.html', europe_date_reported=europe_date_reported, @@ -124,7 +124,7 @@ def url_ecdc_continent_all(page=1): def url_ecdc_continent_one(continent_id, page=1): page_info = WebPageContent('Europe', "continent") continent = EcdcContinent.get_by_id(continent_id) - page_data = EcdcCountry.find_by_continent(continent, page) + page_data = EcdcCountry.find_by_location_group(continent, page) return render_template( 'ecdc/continent/one/ecdc_continent_one.html', continent=continent,