fix #66 - support h-event microformats

This commit is contained in:
les
2020-02-11 11:53:32 +01:00
parent cb02c5ff1a
commit dfb95e15d8
6 changed files with 46 additions and 39 deletions

View File

@@ -97,7 +97,7 @@ const eventController = {
},
include: [
{ model: Tag, required: false, attributes: ['tag', 'weigth'], through: { attributes: [] } },
{ model: Place, attributes: ['name', 'address'] },
{ model: Place, attributes: ['name', 'address', 'id'] },
{
model: Resource,
where: !is_admin && { hidden: false },