Merge branch 'develop' of gitlab.antadis.net:dev-antadis/bebeboutik into develop
This commit is contained in:
commit
45258c7e10
@ -241,8 +241,7 @@ class LoyaltyModule extends ObjectModel
|
||||
} elseif ($onlyDefault){
|
||||
$query .= ' AND f.id_loyalty_state = '.(int)LoyaltyStateModule::getDefaultId();
|
||||
}
|
||||
$query .= 'AND oc.`id_order_state` != 8
|
||||
GROUP BY f.id_loyalty '.
|
||||
$query .= ' AND oc.`id_order_state` != 8 GROUP BY f.id_loyalty '.
|
||||
($pagination ? 'LIMIT '.(((int)($page) - 1) * (int)($nb)).', '.(int)($nb) : '');
|
||||
|
||||
return Db::getInstance()->ExecuteS($query);
|
||||
|
Loading…
Reference in New Issue
Block a user