Skip to content

Commit 1f37303

Browse files
Merge pull request #157 from LabKey/fb_sqlfragment_nodeprecated
Update use of deprecated methods
2 parents 92b85d3 + 4a47ab0 commit 1f37303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laboratory/src/org/labkey/laboratory/query/LaboratoryWorkbooksTable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public SimpleUserSchema.SimpleTable init()
6565
col.setURL(DetailsURL.fromString("/project/start.view"));
6666

6767
String chr = getSqlDialect().isPostgreSQL() ? "chr" : "char";
68-
ExprColumn tagsCol = new ExprColumn(this, "tags", new SQLFragment("(SELECT ").append(getSqlDialect().getGroupConcat(new SQLFragment("tag"), true, true, getSqlDialect().concatenate("','", chr + "(10)"))).append(" FROM laboratory.workbook_tags wt WHERE wt.container = " + ExprColumn.STR_TABLE_ALIAS + ".container)"), JdbcType.VARCHAR, getColumn("container"));
68+
ExprColumn tagsCol = new ExprColumn(this, "tags", new SQLFragment("(SELECT ").append(getSqlDialect().getGroupConcat(new SQLFragment("tag"), true, true, new SQLFragment(getSqlDialect().concatenate("','", chr + "(10)")))).append(" FROM laboratory.workbook_tags wt WHERE wt.container = " + ExprColumn.STR_TABLE_ALIAS + ".container)"), JdbcType.VARCHAR, getColumn("container"));
6969
tagsCol.setLabel("Tags");
7070
tagsCol.setDisplayWidth("200");
7171
addColumn(tagsCol);

0 commit comments

Comments
 (0)