Skip to content

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

@drewbaker

Description

@drewbaker

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 }
                }
            ) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    2xIssues relating to the Nuxt 2 version of fuxt-backend

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions