Bug #3841
closed
- Target version set to 2.7.0
This may not be possible to fix due to unlimited depth capability or disabling the proper sorting/indenting of categories in the dropdown. What's happening is the parent doesn't exist in the array returned from the query retrieving categories that allow group creation and when it sorts them based of parent order it removes the child because the parent does not exist.
- % Done changed from 0 to 10
New function will be needed to loop through and properly add categories/groups to an options array. Remove optgroups that have no children as well. Test implementation shows promising results.
- Status changed from Assigned to Resolved
- % Done changed from 10 to 100
Implemented getCategoryOptions and getGroupOptions class functions to properly build a options list of category and group edit pages. These are only implemented to frontend as backend does not need access or permission checking. This increased query count and page load times slightly due to much more access checks then previously as previously would easily omit half or more of the list due to previously only going 1 depth.
- Status changed from Resolved to Closed
Also available in: Atom
PDF