Skip to content

Commit e15f7af

Browse files
Merge pull request #250 from LabKey/fb_databaseidentifier
DatabaseIdentifier
2 parents 876b10f + 8f70ca7 commit e15f7af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcc/src/org/labkey/mcc/query/MccRequestCustomizer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public boolean isSortable()
8484
TableInfo dti = StorageProvisioner.createTableInfo(d.getDomain());
8585

8686
SQLFragment sql = new SQLFragment("(SELECT ").
87-
append(ti.getSqlDialect().getGroupConcat(new SQLFragment("d." + dti.getColumn("participantid").getSelectName()), true, true, new SQLFragment("', '"))).
87+
append(ti.getSqlDialect().getGroupConcat(new SQLFragment("d.").appendIdentifier(dti.getColumn("participantid").getSelectIdentifier()), true, true, new SQLFragment("', '"))).
8888
append(" as expr FROM ").
8989
append(" mcc." + MccSchema.TABLE_ANIMAL_REQUESTS + " ar JOIN studydataset.").append(dti.getName()).
9090
append(" d ON (d.mccRequestId = ar.rowId)").

0 commit comments

Comments
 (0)