Skip to content

Commit

Permalink
keep attribute_id as keys
Browse files Browse the repository at this point in the history
  • Loading branch information
empiricompany authored Feb 18, 2025
1 parent 4605817 commit cd0908b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/core/Mage/Catalog/Model/Layer.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public function getFilterableAttributes()
}
}
}
usort($attributes, function ($a, $b) {
uasort($attributes, function ($a, $b) {
return $a->getPosition() - $b->getPosition();
});

Expand Down

0 comments on commit cd0908b

Please sign in to comment.