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.
1 parent 0ab0e03 commit 6584286Copy full SHA for 6584286
app/code/Magento/Customer/Block/Address/Grid.php
@@ -237,6 +237,7 @@ private function getAddressCollection(): \Magento\Customer\Model\ResourceModel\A
237
/** @var \Magento\Customer\Model\ResourceModel\Address\Collection $collection */
238
$collection = $this->addressCollectionFactory->create();
239
$collection->setOrder('entity_id', 'desc')
240
+ ->addFieldToFilter('entity_id', array('nin' => array($this->getDefaultBilling(), $this->getDefaultShipping())))
241
->setCustomerFilter([$this->getCustomer()->getId()]);
242
$this->addressCollection = $collection;
243
}
0 commit comments