woocommerce/plugins/woocommerce-admin/client/homescreen/activity-panel/orders
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
..
test Add tests to tracks events fired through JS (#38124) 2023-05-10 09:36:42 -03:00
index.js Moving currencyContext to currency package and updating references (#36959) 2023-02-28 08:55:49 -08:00
style.scss Try: Replace Accordion with Panel component (https://github.com/woocommerce/woocommerce-admin/pull/5970) 2021-01-12 16:18:51 -05:00
utils.js Remove use of SQL_CALC_FOUND_ROWS in low stock query (#40289) 2023-11-09 12:49:50 +08:00