Skip to content
This repository was archived by the owner on Nov 21, 2023. It is now read-only.

Commit 7fbd8f9

Browse files
committed
fix legacy publications_concerned
1 parent 7fa2fdb commit 7fbd8f9

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Legacy, now get publications_persons
2+
import {t} from "../i18n/translater.js";
3+
4+
export const publications_concerned = {
5+
name: 'publications_concerned',
6+
label: t.fields.publications_persons.label,
7+
hint: t.fields.publications_persons.hint,
8+
widget: 'relation',
9+
collection: 'persons',
10+
search_fields: ['title'],
11+
value_field: '{{filename}}',
12+
display_fields: ['title'],
13+
multiple: true,
14+
required: false,
15+
i18n: 'duplicate'
16+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hugolify-netlify-cms",
3-
"version": "1.8.1",
3+
"version": "1.8.2",
44
"homepage": "https://www.hugolify.io",
55
"repository": "https://github.com/hugolify/hugolify-netlify-cms",
66
"bugs": {

0 commit comments

Comments
 (0)