Skip to content

getAllAsModel ignores filters #111

@Drachenkaetzchen

Description

@Drachenkaetzchen

I try to retrieve all clients matching a given email address, so I don't create duplicate clients by accident:

$client = new Client();
$client->setFilter(array("email" => "example@example.com"));

$response = $request->getAllAsModel($client);

However, the getAllAsModel() call returns all clients and ignores the filter.

If I change getAllAsModel to getAll, I receive the expected result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions