contentful.js icon indicating copy to clipboard operation
contentful.js copied to clipboard

more advanced search query

Open undrafted opened this issue 4 years ago • 0 comments

Hi, not sure if this feature is already available, if not please treat it as a feature request.

We have multiple projects where content pages get content based on the URL path treated as a slug/id (e.g. /some-page), and would fetch the content using getEntries passing 'some-page' as a slug/id, but in a lot of cases people commit a typo on this field in the url. Is it possible to do a "search" of best suggestion so even if I mistype the slug to 'sme-page' for example, it could still give me the desired "some-page" slug's entry? Thanks.

undrafted avatar May 03 '21 21:05 undrafted