Skip to content

Commit 47f9e2d

Browse files
committed
Fix times calc col. This is putting in extra single quotes. This doesn't affect anything just nice to have it fixed if these are ever used.
1 parent ff93ad8 commit 47f9e2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

onprc_ehr/src/org/labkey/onprc_ehr/table/ONPRC_EHRCustomizer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ private void customizeTreatmentFrequency(AbstractTableInfo ti)
11111111
ColumnInfo existing = ti.getColumn(name);
11121112
if (null == existing && null != ti.getColumn("meaning"))
11131113
{
1114-
SQLFragment sql = new SQLFragment("(SELECT " + ti.getSqlDialect().getGroupConcat(new SQLFragment("REPLICATE('0', 4 - LEN(t.hourofday)) + cast(t.hourofday as varchar(4))"), true, true, "','").getSqlCharSequence() +
1114+
SQLFragment sql = new SQLFragment("(SELECT " + ti.getSqlDialect().getGroupConcat(new SQLFragment("REPLICATE('0', 4 - LEN(t.hourofday)) + cast(t.hourofday as varchar(4))"), true, true, ",").getSqlCharSequence() +
11151115
"FROM ehr_lookups.treatment_frequency_times t " +
11161116
" WHERE t.frequency = " + ExprColumn.STR_TABLE_ALIAS + ".meaning " +
11171117
" GROUP BY t.frequency " +

0 commit comments

Comments
 (0)