Skip to content

order_by_fields not working #207

Closed
Closed

Description

@stefanfoulis

If I add order_by_fields=True or order_by_fields=['my_field'] to on a DjangoNode on the Meta class (as is described in the docs), I get the following error:

TypeError: 'class Meta' got invalid attribute(s): order_by_fields

Searching through the entire sourcecode of graphene only shows order_by_fields to appear in the docs.

Activity

  1. syrusakbary commented on Jun 24, 2016

    @syrusakbary
    Member

    Hi @stefanfoulis, the docs were wrong... the actual attribute is filter_order_by. Fixing it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions