Merge pull request #5330 from splashingpixels/downloads-order-my-account

fixed my account downloadables out of order
This commit is contained in:
Mike Jolley 2014-04-22 16:34:27 +01:00
commit 49f452928a
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) {