Skip to content

Commit

Permalink
Merge pull request #835 from isb-cgc/isb-cgc-prod-sp
Browse files Browse the repository at this point in the history
Good old type mismatch
  • Loading branch information
s-paquette authored May 1, 2019
2 parents 3725217 + 306376c commit 1406f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cohorts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1406f6e

Please sign in to comment.