Hi there,
I don't understand why filters doesn't work with the getAllByType function.
I try to display only other documents of the same custom type : "realisation"
(I'm on Nuxt3, in a page doncument)
//Get related projects
const { data: relatedProjects } = await useAsyncData("relatedProjects", async () =>
client.getAllByType("realisation", {
fetch: 'realisation.uid',
limit: 3,
filters: [
prismic.filter.not('my.realisation.uid', realisation.uid)
]
})
)
Without the filters param, it works, but I also see the current document...