Skip to content

Commit

Permalink
fix(patients): model scope filters
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Jan 15, 2025
1 parent 68d4af9 commit 95e0b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chord_metadata_service/patients/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def get_scope_filters() -> ModelScopeFilters:
return {
"project": {
"filter": "phenopackets__dataset__project_id",
"prefetch_related": ("phenopackets__dataset_set",)
"prefetch_related": ("phenopackets__dataset",)
},
"dataset": {
"filter": "phenopackets__dataset_id",
Expand Down

0 comments on commit 95e0b72

Please sign in to comment.