Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

namespace Magento\Eav\Model\ResourceModel\Entity\Attribute;

use Magento\Eav\Model\Entity\Type;
Expand Down Expand Up @@ -128,7 +129,7 @@ public function setEntityTypeFilter($type)
/**
* Specify attribute set filter
*
* @param int $setId
* @param int|int[] $setId
* @return $this
*/
public function setAttributeSetFilter($setId)
Expand Down Expand Up @@ -183,6 +184,7 @@ public function setAttributeSetFilterBySetName($attributeSetName, $entityTypeCod

/**
* Specify multiple attribute sets filter
*
* Result will be ordered by sort_order
*
* @param array $setIds
Expand Down Expand Up @@ -225,7 +227,6 @@ public function setInAllAttributeSetsFilter(array $setIds)
->having(new \Zend_Db_Expr('COUNT(*)') . ' = ' . count($setIds));
}

//$this->getSelect()->distinct(true);
$this->setOrder('is_user_defined', self::SORT_ORDER_ASC);

return $this;
Expand Down Expand Up @@ -475,7 +476,7 @@ public function addStoreLabel($storeId)
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public function getSelectCountSql()
{
Expand Down