woocommerce/plugins/woocommerce-admin/client/homescreen/activity-panel
Moon 670e2c0669
Remove use of SQL_CALC_FOUND_ROWS in low stock query (#40289)
* Separate count query

* Fix total_results var

* Add count-low-in-stock endpoint

* Use new count-low-in-stock endpoint

* Fix inconsistent in function names

* Type cast to int

* Add changefile(s) from automation for the following project(s): woocommerce

* Fix spelling

* Separate count query function

* Add changefile(s) from automation for the following project(s): woocommerce

* Use get_count_query

* Use count-low-in-stock endpoint

* Remove condition where it only updates product count when there is less than 2 items -- no longer needed as we are using a new endpoint to count the products

* Fix spelling

* Add changefile(s) from automation for the following project(s): woocommerce

* Lint fixes

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-09 12:49:50 +08:00
..
orders Remove use of SQL_CALC_FOUND_ROWS in low stock query (#40289) 2023-11-09 12:49:50 +08:00
reviews Fixes react version to 17.0.2 globally (#37087) 2023-03-06 18:38:05 -03:00
stock Remove use of SQL_CALC_FOUND_ROWS in low stock query (#40289) 2023-11-09 12:49:50 +08:00
test Add tests to tracks events fired through JS (#38124) 2023-05-10 09:36:42 -03:00
index.js Remove order/product count from wcSettings (#33064) 2022-06-01 14:15:09 -03:00
panels.js Codemod to change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA Client 2022-04-01 11:41:32 +08:00
style.scss Fix/7812 activity panel styling (https://github.com/woocommerce/woocommerce-admin/pull/7813) 2021-10-21 22:18:11 -03:00