From c5cc94bf5dba4b23d3bf5f23f2a1289b88d13812 Mon Sep 17 00:00:00 2001 From: isUnknown Date: Wed, 25 Feb 2026 15:00:58 +0100 Subject: [PATCH] feat: add geoformat page model with coverFiles method Expose combined files (page files + map children files) for the cover field query in the geoformat blueprint. Co-Authored-By: Claude Opus 4.6 --- public/site/models/geoformat.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 public/site/models/geoformat.php diff --git a/public/site/models/geoformat.php b/public/site/models/geoformat.php new file mode 100644 index 0000000..6f49082 --- /dev/null +++ b/public/site/models/geoformat.php @@ -0,0 +1,13 @@ +files()->add( + $this->children()->filterBy('intendedTemplate', 'map')->files() + ); + } +}