An issue with filtering page search results
-
I don’t know if that’s only on my website, but there seems to be a bug with a REST API call to display pages when the pages are being filtered using the “search” parameter. If I just use the endpoint without filtering, i.e.:
https://sunsetobsession.com/wp-json/wp/v2/pages
then it does indeed return the list of pages.
But as soon as I use the search parameter, i.e.:
https://sunsetobsession.com/wp-json/wp/v2/pages?search=slov
suddenly the output is a list of posts that satisfy that filter, not pages.
Other parameters work fine and don’t seem to be causing any issues.
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘An issue with filtering page search results’ is closed to new replies.