Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement product_id and product_price_id filters
implement filtering by product ID or product price ID while implementing this, I discovered a bug in the EDD query system. Specifically, when using `date_query` in combination with `product_id`, the query produces an invalid query error "WordPress database error Column 'date_created' in where clause is ambiguous for query" because the `date_query` is not properly scoped to the `edd_orders` table. This bug has been reported here: awesomemotive/easy-digital-downloads#9699 and I will work on a PR to fix the issue. A workaround in the form of applying the more specific `date_created_query` has been implemented as a workaround for now
- Loading branch information