diff --git a/api/project-reports/models/project-reports.settings.json b/api/project-reports/models/project-reports.settings.json index bdbf5cd..24f53f4 100644 --- a/api/project-reports/models/project-reports.settings.json +++ b/api/project-reports/models/project-reports.settings.json @@ -26,10 +26,6 @@ "body": { "type": "richtext" }, - "project": { - "model": "project", - "via": "project_reports" - }, "excerpt": { "type": "text", "required": true, diff --git a/api/project/models/project.settings.json b/api/project/models/project.settings.json index 68baa54..4ba2bb6 100644 --- a/api/project/models/project.settings.json +++ b/api/project/models/project.settings.json @@ -11,7 +11,7 @@ "draftAndPublish": true }, "attributes": { - "ongoing": { + "onDisplayForExpo": { "type": "boolean", "default": false, "required": true @@ -28,9 +28,8 @@ "authors": { "collection": "members" }, - "project_reports": { - "via": "project", - "collection": "project-reports" + "project_report": { + "model": "project-reports" }, "url": { "type": "string" diff --git a/api/smp/models/smp.settings.json b/api/smp/models/smp.settings.json index bc9c9ce..35bbec9 100644 --- a/api/smp/models/smp.settings.json +++ b/api/smp/models/smp.settings.json @@ -33,7 +33,8 @@ "year": { "type": "integer", "required": true, - "default": 2021 + "default": 2022, + "min": 2022 } } }