From ab944bbf02e9fae606632a11df1053a46573fa49 Mon Sep 17 00:00:00 2001 From: buggyj Date: Wed, 10 Sep 2014 18:00:29 +0200 Subject: [PATCH] change filter to stop automatic view transclusion if field 'hide-body' has the value 'yes' --- core/ui/ViewTemplate/body.tid | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/ui/ViewTemplate/body.tid b/core/ui/ViewTemplate/body.tid index dd3ace4dd..74aae5d6f 100644 --- a/core/ui/ViewTemplate/body.tid +++ b/core/ui/ViewTemplate/body.tid @@ -3,8 +3,7 @@ tags: $:/tags/ViewTemplate
-<$list filter="[all[current]!has[plugin-type]!has[hide-body]]"> - +<$list filter="[all[current]!has[plugin-type]!field:hide-body[yes]]"> <$transclude>