Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Get all categories in category tree form (not only enabled ones) #15030
I could make this simple modification because this CategoryTreeChoiceProvider is only used by one service, which is on only used in the category form.
In the future if we need to have another category tree that doesn't take disabled categories into account, then we'll have to make that optional via the constructor, and configure it in
It just felt like premature optimization at this point, don't hesitate to tell me if you think otherwise.