From 04690ce20639b0518faa3399d6f77ee35be0ff89 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Thu, 24 Aug 2017 07:57:56 -0600 Subject: [PATCH] Use `multilevel` field to handle Asset Collections #1201 --- CHANGELOG.md | 1 + system/blueprints/config/system.yaml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79074f36a..1a7ba8de3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ 1. [](#improved) * Forced `natsort` on plugins to ensure consistent plugin load ordering across platforms [#1614](https://github.com/getgrav/grav/issues/1614) + * Use new `multilevel` field to handle Asset Collections [#1201](https://github.com/getgrav/grav-plugin-admin/issues/1201) # v1.3.2 ## 08/16/2017 diff --git a/system/blueprints/config/system.yaml b/system/blueprints/config/system.yaml index 9ed7a0753..ee093cf4a 100644 --- a/system/blueprints/config/system.yaml +++ b/system/blueprints/config/system.yaml @@ -806,10 +806,12 @@ form: type: bool assets.collections: - type: array + type: multilevel label: PLUGIN_ADMIN.COLLECTIONS placeholder_key: collection_name placeholder_value: collection_path + validate: + type: array errors: type: section