wp-graphql-wpml icon indicating copy to clipboard operation
wp-graphql-wpml copied to clipboard

Cursor pagination showing duplicate posts when using where{search} with after

Open matthewtompkins opened this issue 1 year ago • 3 comments

Hello,

My team has noticed the following:

A query using where {search: } will show the same posts on multiple pages when using after: endCursor. Typically the first 3-6 posts of the search results are the same on every page, but results further down the page do change from page-to-page. I was able to duplicate the behavior in the GraphQL IDE. Disabling WPML causes the search query to work correctly.

We're looking into possible solutions, but I thought I would bring it up here as well. I'll let you know if I find anything out.

Best,

Matt

matthewtompkins avatar Jan 10 '23 18:01 matthewtompkins