From 70b4575f912a58793cf4343907d7284d5cf6c40f Mon Sep 17 00:00:00 2001 From: "S. Paquette" Date: Wed, 1 May 2019 13:38:57 -0700 Subject: [PATCH] -> Something is passing the cohort ID in as a string... --- cohorts/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cohorts/views.py b/cohorts/views.py index 500d0f12..1f205925 100644 --- a/cohorts/views.py +++ b/cohorts/views.py @@ -2016,7 +2016,7 @@ def get_cohort_filter_panel(request, cohort_id=0, program_id=0): data_types = fetch_program_data_types(program_id) - results = public_metadata_counts(filters, (cohort_id if cohort_id > 0 else None), user, program_id) + results = public_metadata_counts(filters, (cohort_id if int(cohort_id) > 0 else None), user, program_id) template_values = { 'request': request,