Commit Graph

20 Commits

Author SHA1 Message Date
Peter Fabian db9d6e03e7 Added spaces around operator. 2018-11-16 18:22:40 +01:00
Peter Fabian 26debd77c3 WIP on advanced filters.
Plus fixing bugs:
- fixed tests
- fixed schema definition to reflect response data
- split WHERE SQL clause into time constraints and rest
2018-11-16 17:51:33 +01:00
Peter Fabian 46923de3d2 Removed superfluous unsets. 2018-11-16 12:37:15 +01:00
Peter Fabian ea766b83ca Renamed method to better reflect its purpose.
Plus added conversion of count as string to integer.
2018-11-16 12:30:00 +01:00
Peter Fabian ba09fea35d Updated filters subqueries to correctly handle no filter case. 2018-11-16 12:12:47 +01:00
Peter Fabian 723ac1e506 Added defaults for new params to Data Store. 2018-11-15 19:01:52 +01:00
Peter Fabian d009deb3e1 Added initial implementation of advanced filters. 2018-11-15 15:27:19 +01:00
Joshua T Flowers 0f45a08f20 Update order summary in Orders report (https://github.com/woocommerce/woocommerce-admin/pull/613)
* Move TableSummary below pagination

* Add summary to order table

* Add new and returning customers

* Add product to totals in API

* Use get_var instead of get_results for unique products

* Change table summary styling

Remove slashes and increase padding between items based on discussion with @LevinMedia

Change margin to padding to overlap table shadow when pagination is not present.

* Fix wp_posts prefix and move to separate fxn

* Change new/returning customer column types to intval

* Add new/returning customer data to tests and fix formatting
2018-10-31 14:09:38 -05:00
Jonathan Belcher ecb3013fd3 Uses PHPBCF to autofix warnings and errors (https://github.com/woocommerce/woocommerce-admin/pull/611) 2018-10-22 12:20:14 -04:00
Claudio Sanches d8503ef720 Merge pull request woocommerce/woocommerce-admin#462 from woocommerce/fix/440
Added PHP tests
2018-09-27 12:31:36 -03:00
Claudio Sanches d672a65e1f Merge pull request woocommerce/woocommerce-admin#461 from woocommerce/fix/453
Casted numeric values to floats before performing arithmetic operations.
2018-09-27 12:29:29 -03:00
Peter Fabian c368e44ff3 Updated language domain. 2018-09-24 17:56:43 +02:00
Peter Fabian 670436ac13 PHPCS fixes. 2018-09-24 17:24:08 +02:00
Peter Fabian aa8a09adbe Merge branch 'master' into fix/440 2018-09-21 10:59:47 +02:00
Peter Fabian 880d99986f Fixed interval boundary function arguments in case no intervals are being added. 2018-09-20 16:23:19 +02:00
Peter Fabian e28f8255c3 Casted numeric values to floats before performing arithmetic operations. 2018-09-20 16:03:27 +02:00
Claudio Sanches 76d5417e2b Use WooCommerce's database prefi
Fixes woocommerce/woocommerce-admin#437
2018-09-18 17:03:42 -03:00
Peter Fabian b556d55ca6 - Removed duplicate class.
- Overridden REST API endpoints via filters.
- Updated data store class prefixes.
- Removed debugging echo.
2018-09-18 12:24:43 +02:00
Peter Fabian 1b71184f23 Updated path to background process class. 2018-09-17 20:36:29 +02:00
Peter Fabian d2ac6cdbe1 Added reporting REST API extensions to wc-admin. 2018-09-17 16:32:03 +02:00