Skip to content

Sorting on nested field that contains __ in its name. #2783

@ws903

Description

@ws903

If I run a query like .objects().order_by('-response.Funding_custom__c'), explain tells me that sortPattern is
'sortPattern': {'response.Funding_custom.c': -1}.

How should I ensure that Funding_custom__c is recognized as a single field?

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