Skip to content

Commit

Permalink
fixed order of gc_case classifications
Browse files Browse the repository at this point in the history
  • Loading branch information
larrybabb committed Oct 7, 2024
1 parent 66cb3a3 commit ed5d10d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/tracker-procs/03-gc-report-proc.sql
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ BEGIN
gc_case.variation_id,
gc_case.lab_id as submitter_id,
gc_case.case_report_key,
STRING_AGG(DISTINCT FORMAT("%%s.%%i", lab_scv.id, lab_scv.version)) as acxn,
STRING_AGG(DISTINCT lab_scv.classif_type) as classif_type,
STRING_AGG(DISTINCT lab_scv.submitted_classification) as classification,
STRING_AGG(DISTINCT FORMAT("%%s.%%i", lab_scv.id, lab_scv.version) ORDER BY lab_scv.id, lab_scv.version) as acxn,
STRING_AGG(DISTINCT lab_scv.classif_type ORDER BY lab_scv.classif_type) as classif_type,
STRING_AGG(DISTINCT lab_scv.submitted_classification ORDER BY lab_scv.submitted_classification) as classification,
MIN(lab_scv.last_evaluated) as last_evaluated,
MIN(lab_scv.date_created) as first_in_clinvar,
COUNT(DISTINCT lab_scv.id) as scv_count
Expand Down

0 comments on commit ed5d10d

Please sign in to comment.