Hello,
I'm trying to figure out why the prices index excludes Disabled products. The thing is that sorting by price in the admin product grid produces a wrong result set because it's missing all the Disabled product not previously included in the index.
The issue is explained here: https://github.com/magento/magento2/issues/7522. And the line of code where this limitation is set is this one: https://github.com/magento/magento2/blob/2.3-develop/app/code/Magento/Catalog/Model/ResourceModel/Pr...
Before to propose a fix at Github, or even to take any action in order to "fix" it in my projects, I want to understand why this design decision has been taken at the first place.
Thank you in advance.