You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We'd noticed that terms weren't ordered by 'menuindex' or 'a-z' in the main 'Taxonomies' tab when editing resources. We updated our local install in order to use 'menuindex'...perhaps worth including option to order by various fields in a later release?
Great component. Many thanks.
Our fix in 'getFieldItems' function @ modxroot/components/taxonomies/model/Base.php
Insert at line 184:
uasort($children, function($a, $b){return $a['menuindex'] - $b['menuindex'];});
Hi there.
We'd noticed that terms weren't ordered by 'menuindex' or 'a-z' in the main 'Taxonomies' tab when editing resources. We updated our local install in order to use 'menuindex'...perhaps worth including option to order by various fields in a later release?
Great component. Many thanks.
Our fix in 'getFieldItems' function @ modxroot/components/taxonomies/model/Base.php
Insert at line 184:
uasort($children, function($a, $b){return $a['menuindex'] - $b['menuindex'];});
Complete function:
The text was updated successfully, but these errors were encountered: