{"data":{"id":"magento2-38263","source":"github-pr","sourceRef":"magento/magento2#38263","title":"Category Products Grid > Status & Visibility Columns are empty when sorting by name","pr":{"number":38263,"url":"https://github.com/magento/magento2/pull/38263","author":"Bartlomiejsz","mergedAt":"2025-11-03T13:21:55Z","mergeCommit":"032ee42f8ae65e6c11b650f7bfe3b1b38e2de4cf","headCommit":"772406c2241da31b0d1f89e88b054150cd89af3e","baseRef":"2.4-develop","diffSha256":"1f1aaed632258a1b17a95a4d0c1b531552f211b7d7ea1a567dde55bd678e9423"},"issues":[{"number":38233,"url":"https://github.com/magento/magento2/issues/38233","title":"Category Products Grid > Status & Visibility Columns are empty when sorting by name","labels":["Area: Admin UI","Component: Admin","Issue: Confirmed","Priority: P2","Progress: PR Created","Progress: PR in progress","Progress: done","Reported on 2.4.6-p3","Reproduced on 2.4.x"],"kind":"human"}],"fixedIn":"2.4.9","containingTags":["2.4.9"],"reportedOn":"2.4.6-p3","codeMatch":{"2.4.6":"conflict","2.4.6-p1":"conflict","2.4.6-p2":"conflict","2.4.6-p3":"conflict","2.4.6-p4":"conflict","2.4.6-p5":"conflict","2.4.6-p6":"conflict","2.4.6-p7":"conflict","2.4.6-p8":"conflict","2.4.6-p9":"conflict","2.4.6-p10":"conflict","2.4.6-p11":"conflict","2.4.6-p12":"conflict","2.4.6-p13":"conflict","2.4.6-p14":"conflict","2.4.6-p15":"conflict","2.4.7":"clean","2.4.7-p1":"clean","2.4.7-p2":"clean","2.4.7-p3":"clean","2.4.7-p4":"clean","2.4.7-p5":"clean","2.4.7-p6":"clean","2.4.7-p7":"clean","2.4.7-p8":"clean","2.4.7-p9":"clean","2.4.7-p10":"clean","2.4.8":"conflict","2.4.8-p1":"conflict","2.4.8-p2":"conflict","2.4.8-p3":"conflict","2.4.8-p4":"conflict","2.4.8-p5":"conflict","2.4.9":"conflict"},"affectedVersions":["2.4.7","2.4.7-p1","2.4.7-p2","2.4.7-p3","2.4.7-p4","2.4.7-p5","2.4.7-p6","2.4.7-p7","2.4.7-p8","2.4.7-p9","2.4.7-p10"],"components":["magento/module-catalog"],"files":[{"path":"app/code/Magento/Catalog/Block/Adminhtml/Category/Tab/Product.php","change":"modified","package":"magento/module-catalog"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":45,"mergeBatched":true,"excluded":null,"sections":{"description":"The Columns status and visibility are empty \n![image](https://github.com/magento/magento2/assets/761744/d0af6a8e-8368-4fb2-b055-f0dacde9e3a3)","stepsToReproduce":"* Login into the Backend \n* Go to Catalog > Categories > open a category with assigned products\n* Order by name","expectedResult":"* Columns should have content as before\n\n![image](https://github.com/magento/magento2/assets/761744/bbe2241a-c50e-4ded-ac90-82f3e396a09c)","actualResult":"The Columns status and visibility are empty \n![image](https://github.com/magento/magento2/assets/761744/d0af6a8e-8368-4fb2-b055-f0dacde9e3a3)","source":"issue"},"signatures":[],"labels":{"area":["Admin UI"],"component":["Admin"],"priority":"P2","severity":null,"reportedOn":["2.4.6-p3"]},"categories":["Admin"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"89c12c928889649f56c4c3fd6ff6b89135191d8bdac32a7132eb216323f08432","isBugfix":0.9802,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9516,"feature":0.0064,"refactor":0.0241,"tests_only":0.0073,"docs_only":0.0045,"dependency":0.0061},"confidence":0.8875},"scope":{"score":0.8145,"probabilities":{"0":0.3228,"1":0.54,"2":0.1372},"confidence":0.1219},"risk":{"score":0.365,"probabilities":{"0":0.6813,"1":0.2724,"2":0.0463},"confidence":0.3108},"area":{"choice":"admin","probabilities":{"catalog":0.2984,"checkout":0.0036,"customer":0.0029,"admin":0.6754,"graphql_api":0.0026,"framework":0.0074,"frontend":0.0057,"other":0.004},"confidence":0.4803},"securityRelevant":0.0061,"reportedVersion":{"choice":"2.4.6-p3","probabilities":{"2.4.0":0.0023,"2.4.0-p1":0.0024,"2.4.1":0.0021,"2.4.1-p1":0.0023,"2.4.2":0.0022,"2.4.2-p1":0.0025,"2.4.2-p2":0.0026,"2.4.3":0.0025,"2.4.3-p1":0.0029,"2.4.3-p2":0.0032,"2.4.3-p3":0.0032,"2.4.4":0.0024,"2.4.4-p1":0.0026,"2.4.4-p10":0.0033,"2.4.4-p11":0.0036,"2.4.4-p12":0.0032,"2.4.4-p13":0.0034,"2.4.4-p14":0.0033,"2.4.4-p15":0.0031,"2.4.4-p16":0.0038,"2.4.4-p17":0.0028,"2.4.4-p18":0.0027,"2.4.4-p2":0.0022,"2.4.4-p3":0.0023,"2.4.4-p4":0.0023,"2.4.4-p5":0.0026,"2.4.4-p6":0.003,"2.4.4-p7":0.0028,"2.4.4-p8":0.0033,"2.4.4-p9":0.0027,"2.4.5":0.0027,"2.4.5-p1":0.0029,"2.4.5-p10":0.0031,"2.4.5-p11":0.0034,"2.4.5-p12":0.0046,"2.4.5-p13":0.0036,"2.4.5-p14":0.0038,"2.4.5-p15":0.0032,"2.4.5-p16":0.0033,"2.4.5-p17":0.0028,"2.4.5-p2":0.0026,"2.4.5-p3":0.0033,"2.4.5-p4":0.0027,"2.4.5-p5":0.0031,"2.4.5-p6":0.0037,"2.4.5-p7":0.0035,"2.4.5-p8":0.0029,"2.4.5-p9":0.0026,"2.4.6":0.0356,"2.4.6-p1":0.0046,"2.4.6-p10":0.0035,"2.4.6-p11":0.0033,"2.4.6-p12":0.0032,"2.4.6-p13":0.0056,"2.4.6-p14":0.0029,"2.4.6-p15":0.0029,"2.4.6-p2":0.0066,"2.4.6-p3":0.6821,"2.4.6-p4":0.0086,"2.4.6-p5":0.0055,"2.4.6-p6":0.0074,"2.4.6-p7":0.0055,"2.4.6-p8":0.0046,"2.4.6-p9":0.0044,"2.4.7":0.0043,"2.4.7-p1":0.0037,"2.4.7-p10":0.0035,"2.4.7-p2":0.0029,"2.4.7-p3":0.0041,"2.4.7-p4":0.0042,"2.4.7-p5":0.0035,"2.4.7-p6":0.0044,"2.4.7-p7":0.0035,"2.4.7-p8":0.0033,"2.4.7-p9":0.0026,"2.4.8":0.0041,"2.4.8-p1":0.0037,"2.4.8-p2":0.005,"2.4.8-p3":0.0046,"2.4.8-p4":0.0047,"2.4.8-p5":0.0039,"2.4.9":0.0036,"unspecified":0.0027},"confidence":0.4611},"backportWorthy":{"score":1.6927,"probabilities":{"0":0.0661,"1":0.1751,"2":0.7588},"confidence":0.4162}},"curated":{"title":"Fixes empty Status and Visibility columns when sorting category products by name","description":"In the admin category products grid, the Status and Visibility columns are empty when sorting by name. Category\\Tab\\Product.php now creates the collection with ProductCollectionFactory, not the product model, adds name, sku, visibility, status and price with a left join, and adds a group by e.entity_id.","categories":["Admin"],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-38263 details"}