Skip to content

Commit c4647c5

Browse files
author
Mark Williams
committed
Fix display of single data collections that are in groups
1 parent 859eaec commit c4647c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/src/Page/DC.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ function _data_collections($single = null)
400400
}
401401

402402
# Data collection group
403-
if ($this->has_arg('dcg') || $this->has_arg('PROCESSINGJOBID')) {
403+
if ($this->has_arg('dcg') || $this->has_arg('PROCESSINGJOBID') || $this->has_arg('id')) {
404404
$fields = "count(distinct dca.datacollectionfileattachmentid) as dcac,
405405
if(dca.fileType='recip',1,0) as recip,
406406
count(distinct dcc.datacollectioncommentid) as dccc,

0 commit comments

Comments
 (0)