Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix default where clause order to work with new format #52

Open
drewbaker opened this issue Feb 20, 2023 · 1 comment
Open

Fix default where clause order to work with new format #52

drewbaker opened this issue Feb 20, 2023 · 1 comment
Labels
2x Issues relating to the Nuxt 2 version of fuxt-backend

Comments

@drewbaker
Copy link
Member

It looks like they changed the format for the ORDER where clauses.

It used to be this:
https://github.com/funkhaus/fuxt-backend/blob/master/functions/gql-functions.php#L532-L533

But now it needs to be like this:

            children(
                where: {
                    orderby: { field: MENU_ORDER, order: ASC }
                }
            ) {
@rsm0128
Copy link
Contributor

rsm0128 commented Feb 21, 2023

Hi Drew,
I checked the wp-graphql repository, but there is no recent change with the orderby format.
Also, I checked both of the code in wp-graphql and fuxt-backend and it seems fine.
Or did I miss something?

@drewbaker drewbaker added the 2x Issues relating to the Nuxt 2 version of fuxt-backend label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2x Issues relating to the Nuxt 2 version of fuxt-backend
Projects
None yet
Development

No branches or pull requests

2 participants