nextjs-notion-starter-kit icon indicating copy to clipboard operation
nextjs-notion-starter-kit copied to clipboard

Search Button

Open debiantano opened this issue 1 year ago • 5 comments

The search button does not filter any articles, it only shows a loading icon but does not perform a search https://drive.google.com/file/d/12Lj_nr2ZsinTy_iayI-tk9OGQKPM1z-t/view?usp=sharing

debiantano avatar Jun 11 '23 04:06 debiantano

image

I got same result, that search API return code 405.

noisonnoiton avatar Jun 19 '23 23:06 noisonnoiton

Same here result here, on multiple deployments

jsantiago611 avatar Jun 22 '23 15:06 jsantiago611

same on Vercel

Kiaana avatar Jul 03 '23 23:07 Kiaana

The issue lies in the library notion-client which is used by this repository. I created a pull request to fix the issue: https://github.com/NotionX/react-notion-x/pull/505 but in the meantime you can use patch-package to resolve it until the PR is (hopefully) merged

Armster15 avatar Jul 07 '23 21:07 Armster15

The issue lies in the library notion-client which is used by this repository. I created a pull request to fix the issue: NotionX/react-notion-x#505 but in the meantime you can use patch-package to resolve it until the PR is (hopefully) merged

Cool, buddy. I was trying to fix the problem today and pulled down the project, then I noticed your code. It's kind of annoying. if someone wants to know how to patch the package, link is here. https://danni.cool/2023/10/17/Fixed%20the%20broken%20search%20in%20nextjs-notion-starter-kit/

danni-cool avatar Oct 17 '23 10:10 danni-cool