mirror of
https://github.com/directus/directus.git
synced 2026-04-03 03:00:39 -04:00
add alias to always have the same name (#15960)
This commit is contained in:
@@ -679,7 +679,7 @@ export class PayloadService {
|
||||
.from(relation.collection)
|
||||
.where({ [relation.field]: parent })
|
||||
.whereNotNull(sortField)
|
||||
.max(sortField)
|
||||
.max(sortField, { as: 'max' })
|
||||
.first();
|
||||
|
||||
createPayload = alterations.create.map((item, index) => {
|
||||
|
||||
Reference in New Issue
Block a user