We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 872ce8a commit 23f764dCopy full SHA for 23f764d
src/alternative_interface/views.py
@@ -76,14 +76,15 @@ def alternative_interface_view(request):
76
).all()
77
78
if pathogen_filter:
79
- indicators_qs = indicators_qs.filter(pathogens__id=pathogen_filter)
+ indicators_qs = indicators_qs.filter(pathogens__id=pathogen_filter, indicator_set__epidata_endpoint="covidcast")
80
81
# Convert to list of dictionaries
82
ctx["indicators"] = [
83
{
84
"_endpoint": indicator.indicator_set.epidata_endpoint,
85
"name": indicator.name,
86
"data_source": indicator.source.name if indicator.source else "Unknown",
87
+ "time_type": indicator.time_type,
88
}
89
for indicator in indicators_qs
90
]
0 commit comments