You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: LDK/src/org/labkey/ldk/LDKServiceImpl.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -258,7 +258,7 @@ public List<String> validateContainerScopedTables(boolean onlyReportErrors)
258
258
}
259
259
260
260
// group data based on pseudoPK and effective container (ie. workbooks go with parent) and return duplicates
261
-
SQLFragmentsql = newSQLFragment("SELECT ").append(pseudoPk.getValueSql("t")).append(" as keyField, count(*) as total FROM " + ti.getFromSQL("t") +
261
+
SQLFragmentsql = newSQLFragment("SELECT ").append(pseudoPk.getValueSql("t")).append(" as keyField, count(*) as total FROM ").append(ti.getFromSQL("t")).append(
262
262
" LEFT JOIN core.containers c ON t.container = c.entityid " +
263
263
" GROUP BY ").append(pseudoPk.getValueSql("t")).append(", CASE WHEN c.type = 'workbook' THEN c.parent ELSE c.entityid END " +
0 commit comments