Update SLUG field in server side post_create and put_update hooks.

This commit is contained in:
2022-06-30 15:00:18 +02:00
parent 49896d6978
commit dbbd7c63ed
7 changed files with 55 additions and 14 deletions

View File

@@ -176,9 +176,9 @@ fields:
choices:
endpoint: "articles"
params:
sort: "article.publish_date.from"
sort: "article.general.publish_date.from"
filter: { "article.assignments.pages": { source: "path" } }
template: { twig: "{{ article.content.title }}" }
template: { twig: "<div>{{ article.content.title }}</div><div>{{ article.general.locale }}</div>" }
- name: tags
type: string[]
meta: