Hi,
I’m trying the MainWP Woocommerce Status Extension, and just noticed a small bug with column sorting :
The order is wrong for numeric values :
Sales This Month => If the currency is before the number, it’s placed before sites who have currency after price, even if the value is larger (order by desc) :
€0,00
£0.00
900€
40€
300€
0€…
Look like it’s ordered alphabetically, not with natsort or something like that.
Same problems with all last columns showing X Products and X Orders.
The sorting for the last columns also seems to be fine. Not sure how the last three columns might be affected, considering they all have the same order of data, a value, and then a descriptor: e.g., “2 Products”.
For the sales, I was thinking it could be a locale problem ? The first 0,00€ has a comma decimal separator
For the second one, maybe it’s the £ symbol ?
Resolved in the MainWP WooCommerce Status Extension version 4.0.7
WordPress® is a registered trademark of the WordPress Foundation, and WooCommerce® is a registered trademark of WooCommerce, Inc. MainWP is an independent product and is not affiliated, associated, or endorsed by the WordPress Foundation, WooCommerce, Inc., or Automattic Inc., except where noted under the Jetpack® API and Trademark License Agreement. All product names, logos, and brands are property of their respective owners and are used for identification purposes only.