Closed amybowers closed 3 years ago
Current behavior Trying to use the sortField 'waitingSince' or 'customerName' returns an error even though they're allowed by the API.
Expected behavior Should be able to sort by these fields.
Steps to reproduce
create a filter $filters = (new ConversationFilters())->sortField('waitingSince');
$filters = (new ConversationFilters())->sortField('waitingSince');
try to retrieve conversations using that filter You will get an error
Expected one of: "createdAt", "customerEmail", "mailboxid", "modifiedAt", "number", "score", "status", "subject". Got: "waitingSince"
Thanks for reporting this, we've just released v3.3.0 with your contribution!
Current behavior Trying to use the sortField 'waitingSince' or 'customerName' returns an error even though they're allowed by the API.
Expected behavior Should be able to sort by these fields.
Steps to reproduce
create a filter
$filters = (new ConversationFilters())->sortField('waitingSince');
try to retrieve conversations using that filter You will get an error