We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 18e28a9 + 89fd339 commit 81840e8Copy full SHA for 81840e8
app/code/Magento/Customer/Model/GroupManagement.php
@@ -15,7 +15,6 @@
15
use Magento\Framework\Api\SortOrderBuilder;
16
use Magento\Framework\App\Config\ScopeConfigInterface;
17
use Magento\Framework\App\ObjectManager;
18
-use Magento\Framework\Data\Collection;
19
use Magento\Framework\Exception\NoSuchEntityException;
20
use Magento\Store\Model\StoreManagerInterface;
21
@@ -170,7 +169,7 @@ public function getLoggedInGroups()
170
169
->create();
171
$groupNameSortOrder = $this->sortOrderBuilder
172
->setField('customer_group_code')
173
- ->setDirection(Collection::SORT_ORDER_ASC)
+ ->setAscendingDirection()
174
175
$searchCriteria = $this->searchCriteriaBuilder
176
->addFilters($notLoggedInFilter)
0 commit comments