Merge pull request #5330 from splashingpixels/downloads-order-my-account
fixed my account downloadables out of order
This commit is contained in:
commit
49f452928a
|
@ -622,7 +622,7 @@ class WC_Customer {
|
|||
permissions.access_expires >= %s
|
||||
)
|
||||
GROUP BY permissions.download_id
|
||||
ORDER BY permissions.order_id, permissions.product_id, permissions.download_id;
|
||||
ORDER BY permissions.order_id, permissions.product_id, permissions.permission_id;
|
||||
", get_current_user_id(), date( 'Y-m-d', current_time( 'timestamp' ) ) ) );
|
||||
|
||||
if ( $results ) {
|
||||
|
|
Loading…
Reference in New Issue