2 Commits
Author SHA1 Message Date
Geoff TaylorandGitHub cfd5115498 fix: Order status filter incorrectly uses single value (#999)
* fix: Order status filter incorrectly uses single value when statuses is the only filter arg

The condition `1 === count($where_args)` checked the total number of filter
args instead of `1 === count($where_args['statuses'])`, causing multi-status
queries to only return results for the first status when no other filters
were provided.

Closes #968

* fix: Upgrade phpcov to v9 for newer coverage file format

The Docker test environment produces .cov files in the php-code-coverage
v10+ format (PHP file wrapper around serialized data). phpcov v8 only
supports raw serialized data and silently produces empty coverage.
2026-03-26 22:45:38 -04:00
Geoff TaylorandGitHub 39adebf415 fix: customer order query strips pagination and where args (#981)
The array_intersect_key call in the orders connection resolver was
filtering all $args (including first, last, after, before) against
get_connection_args('public') keys. Since get_connection_args returns
where arg definitions (not top-level connection args), the intersection
matched nothing and stripped everything.

Fix: only filter $args['where'] instead of all $args, so pagination
and other connection args are preserved for non-admin customers.
2026-03-23 18:04:51 -04:00