View Issue Details

IDProjectCategoryView StatusLast Update
0006652OXID eShop (all versions)1.05. Userspublic2017-06-23 11:34
Status acknowledgedResolutionopen 
Product Version4.10.4 / 5.3.4 
Target VersionFixed in Version 
Summary0006652: oxUser->getOrders() and oxUser->getOrderCount() - have different selects
DescriptionBoth methods have a different select statement to fetch the order data or order count.

The getOrders() function makes the use of "oxconfig->isMultiShop" to fetch all order or only for the current shop id.

The getOrderCount() function fetch always the order count for the current shop id.

This is not consitent.
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined


related to 0006697 acknowledgedbenjamin.joerger Order overview shows no pagination when using customer can buy in all shops with one account 



2017-06-23 11:34

administrator   ~0012132

The question is: Is this a logic or a documentation bug.
Maybe the one method should count over all shops by purpose and the other one for only the active shop. But then both should have a "give me the just the number" and a "give me all the objects" methods.