Skip to content

Zenpy Search Endpoint does not handle side loading #674

@miafg

Description

@miafg

The Search Endpoint does not support side loading although the zendesk api documentation shows that it should. https://developer.zendesk.com/api-reference/ticketing/ticket-management/search/#side-loading

I get zero results when I use the "include" kwarg:

# With side loading
res = zendesk_client.search(query="test", type="ticket", include=["tickets(users)"])

In [3]: res.count
Out[3]: 0

# Without side loading
res = zendesk_client.search(query="test", type="ticket")

In [6]: res.count
Out[6]: 7933

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions