fix: change blogs and pages search by name

This commit is contained in:
RizqiSyahrendra 2025-03-05 20:34:51 +07:00
parent b330c5296f
commit 0dbf4dfc35
3 changed files with 5 additions and 0 deletions

View File

@ -97,5 +97,6 @@ export const Blogs: CollectionConfig = {
admin: {
hideAPIURL: true,
group: "Blogs",
useAsTitle: "title",
},
};

View File

@ -104,5 +104,6 @@ export const Pages: CollectionConfig = {
admin: {
hideAPIURL: true,
group: "General",
useAsTitle: "title",
},
};

View File

@ -114,11 +114,14 @@ export default buildConfig({
fields: undefined,
admin: {
group: "General",
useAsTitle: "title",
},
},
formSubmissionOverrides: {
fields: undefined,
admin: {
group: "General",
useAsTitle: "form",
},
},
}),