From 345ecb6177074d8ebde2d886a8ba4ab700bbc502 Mon Sep 17 00:00:00 2001 From: Mario Linz Date: Fri, 1 Jul 2022 09:08:56 +0200 Subject: [PATCH] Aktualisieren der auszugebenden Daten-Spalten (fieldviews) in der neuen LinkedEntries Komponente. --- api/collections/content.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/api/collections/content.yml b/api/collections/content.yml index 8282c3d..83e0921 100644 --- a/api/collections/content.yml +++ b/api/collections/content.yml @@ -178,7 +178,12 @@ fields: params: sort: "article.general.publish_date.from" filter: { "article.assignments.pages": { source: "path" } } - template: { twig: "
{{ article.content.title }}
{{ article.general.locale }}
" } + template: { twig: "{{ article.content.title }}{{ article.general.locale }}" } + fieldviews: + - { source: article.general.public, type: boolean } + - { source: article.content.title, widget: text } + - { source: article.general.type, widget: select } + - { source: article.general.locale, widget: flag } - name: tags type: string[] meta: