diff --git a/api/src/org/labkey/api/audit/query/DefaultAuditTypeTable.java b/api/src/org/labkey/api/audit/query/DefaultAuditTypeTable.java index 42d1b7b7e0d..46b164a9a86 100644 --- a/api/src/org/labkey/api/audit/query/DefaultAuditTypeTable.java +++ b/api/src/org/labkey/api/audit/query/DefaultAuditTypeTable.java @@ -169,8 +169,19 @@ protected ColumnInfo resolveColumn(String name) if (col != null) return col; - // Handle the old style 'intKey1' and 'key1' columns - String newName = _legacyNameMap.get(FieldKey.fromParts(name)); + String newName = null; + + if (_legacyNameMap.isEmpty()) + { + // Backward compatibility with widely used legacy name + if ("Date".equalsIgnoreCase(name)) + newName = "Created"; + } + else + { + // Handle the old style 'intKey1' and 'key1' columns + newName = _legacyNameMap.get(FieldKey.fromParts(name)); + } col = super.resolveColumn(newName); if (col != null) {