From ca69b9a60645ed202ccce018955d14ad0641b1d6 Mon Sep 17 00:00:00 2001 From: Benno Tielen Date: Mon, 24 Feb 2025 08:58:53 +0100 Subject: [PATCH] fix: search image and label --- src/collections/Media.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/collections/Media.ts b/src/collections/Media.ts index 3434f41..7cbcd2e 100644 --- a/src/collections/Media.ts +++ b/src/collections/Media.ts @@ -5,10 +5,14 @@ export const Media: CollectionConfig = { access: { read: () => true, }, + admin: { + listSearchableFields: ['search'] + }, fields: [ { name: 'alt', type: 'text', + label: 'Kurze Beschreibung für u.a. Sehbhinderte Menschen', required: true, }, {