You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the "startCursor" from the "productsForward" pageInfo result in the "before" input we try to go back... but we get unexpected resulting products in a strange order.
Expected behavior
Given the provided inputs "productsBackward" query should return the same products as the initial "products" query. If we omit the "orderby" input in all the above queries everything appears to work as expected.
Plugin Versions
WooGraphQL Version: 0.19.0
WPGraphQL Version: 1.22.1
WordPress Version: 6.4.3
WooCommerce Version: 8.6.1
Additional context
I could be doing it wrong :)
The text was updated successfully, but these errors were encountered:
Describe the bug
When querying products with "last", "before" and "orderby" inputs the returned products are not as expected.
To Reproduce
Initial query to get some products and pageInfo...
Using the "endCursor" from this query as the "after" input the following query we get the next 5 products...
Using the "startCursor" from the "productsForward" pageInfo result in the "before" input we try to go back... but we get unexpected resulting products in a strange order.
Expected behavior
Given the provided inputs "productsBackward" query should return the same products as the initial "products" query. If we omit the "orderby" input in all the above queries everything appears to work as expected.
Plugin Versions
Additional context
I could be doing it wrong :)
The text was updated successfully, but these errors were encountered: