From cd4d9d4bf4f8dbae5e76304fe955c205c3cdb18c Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 11 Jul 2022 23:27:34 +0300 Subject: Try to fix sorting again --- _gallery/testigalleria.json | 4 ++-- src/admin/config.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/_gallery/testigalleria.json b/_gallery/testigalleria.json index 4744e51..79c7c22 100644 --- a/_gallery/testigalleria.json +++ b/_gallery/testigalleria.json @@ -12,6 +12,6 @@ "src_hiq": "/media/halo.png" } ], - "id": "01-testigalleria", - "title": "Testigalleria" + "display_title": "Testigalleria", + "title": "01-testigalleria" } \ No newline at end of file diff --git a/src/admin/config.yml b/src/admin/config.yml index 61ade92..ccb392e 100644 --- a/src/admin/config.yml +++ b/src/admin/config.yml @@ -6,16 +6,16 @@ public_folder: /media collections: - name: gallery label: Gallery - identifier_name: id + identifier_name: title folder: _gallery extension: json create: true fields: - - name: id + - name: title label: Sorting key (alphabetically first is shown first on page) widget: string - - name: title - label: Title + - name: display_title + label: Title (if defined, shown on page) widget: string - name: column_count label: Column count -- cgit v1.3