This code returned attributes set for dropdown menu - ordered by attribute set name ...

$sets = Mage::getResourceModel('eav/entity_attribute_set_collection')

Suddenly it changed to display sets orded by ID instead of name ...

What is your default sort for this code? Why could it change? Would like to understand, why behavoir changed ...


Checked eav_attribute_set table wher sort order is stored ... and its set to 0 for all set - only "default" has value 10.

Last thing I've made was to create a new set ....

No change ...


Found this ... How to sort the Attribute Set list on the Manage Products Grid dropdown menu?, BUT why did it work before?

(Whats your sort order for attribute sets?)


Suddenly sort order (by set name) is correct again. Without any changes made. Just added further sets.

Ideas? (Refreshed cache/indexes already yesterday)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.