This commit is contained in:
David Arranz 2019-10-14 13:00:49 +02:00
parent 795c629e84
commit 4e5fee6aa9

View File

@ -34,7 +34,7 @@ const extraMethods = {
include: [{ model: models.Entity,
include: [{ model: models.EntityType, as:'types', where:{alias: 'partner'}}],
}],
order: [[{ model: models.Entity }, 'name', 'asc'], [{ model: models.EventReservation }, 'description', 'asc']],
order: [[{ model: models.Entity }, 'name', 'asc']],
})
},