- last update
11 months ago 4 pass - last update
11 months ago 4 pass
After you uncheck the Use term weight order
, and click the save. In menu, taxonomy menus weight will reset.
Actually, the main reason is not set weight when uncheck the `Use term weight order`.
// Order by terms weight if configured for this taxonomy_menu.
if ($this->useTermWeightOrder()) {
$link['weight'] = $term->getWeight();
}
Not have else
, so the weight always not set, and then sort by alphabetical.
I think if we don't use term weight order, we should keep sorting by the menu tree.
Needs work
3.0
Code
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.