{"data":{"id":"magento2-38474","source":"github-pr","sourceRef":"magento/magento2#38474","title":"Shop By Category Filter Visible On Non-Anchor Categories ","pr":{"number":38474,"url":"https://github.com/magento/magento2/pull/38474","author":"rogerdz","mergedAt":"2026-05-19T20:02:59Z","mergeCommit":"4d112d8461ac64839b45ec5d42359e5f72e412ca","headCommit":"c2e9b23e4397c5d37fafe91e3c8ab1164a2ca713","baseRef":"2.4-develop","diffSha256":"737e5b3a825afedeab60c58f4455a330b31d4f8542a8e42f9654440271b6e034"},"issues":[{"number":38379,"url":"https://github.com/magento/magento2/issues/38379","title":"Shop By Category Filter Visible On Non-Anchor Categories ","labels":["Area: Catalog","Component: Catalog","Issue: Confirmed","Priority: P2","Progress: PR Created","Progress: PR in progress","Progress: done","Reported on 2.4.x","Reproduced on 2.4.x"],"kind":"human"}],"fixedIn":null,"containingTags":[],"reportedOn":null,"codeMatch":{"2.4.6":"clean","2.4.6-p1":"clean","2.4.6-p2":"clean","2.4.6-p3":"clean","2.4.6-p4":"clean","2.4.6-p5":"clean","2.4.6-p6":"clean","2.4.6-p7":"clean","2.4.6-p8":"clean","2.4.6-p9":"clean","2.4.6-p10":"clean","2.4.6-p11":"clean","2.4.6-p12":"clean","2.4.6-p13":"clean","2.4.6-p14":"clean","2.4.6-p15":"clean","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":"clean","2.4.8-p1":"clean","2.4.8-p2":"clean","2.4.8-p3":"clean","2.4.8-p4":"clean","2.4.8-p5":"clean","2.4.9":"clean"},"affectedVersions":["2.4.6","2.4.6-p1","2.4.6-p2","2.4.6-p3","2.4.6-p4","2.4.6-p5","2.4.6-p6","2.4.6-p7","2.4.6-p8","2.4.6-p9","2.4.6-p10","2.4.6-p11","2.4.6-p12","2.4.6-p13","2.4.6-p14","2.4.6-p15","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","2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5","2.4.9"],"components":["magento/module-catalog"],"files":[{"path":"app/code/Magento/Catalog/view/frontend/layout/catalog_category_view_type_default.xml","change":"modified","package":"magento/module-catalog"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":2,"mergeBatched":false,"excluded":null,"sections":{"description":"Category layered navigation filter is showing","stepsToReproduce":"1. Create a category with a sub category. Set Is Anchor - No for both\n2. Navigate to admin > Stores > Configuration > Catalog - Show Category Filter - No\n3. Navigate to frontend > Go to parent category and check for Shop By category filter","expectedResult":"No category layered navigation filter showing","actualResult":"Category layered navigation filter is showing","source":"issue"},"signatures":[],"labels":{"area":["Catalog"],"component":["Catalog"],"priority":"P2","severity":null,"reportedOn":["2.4.x"]},"categories":["Catalog/Product"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"c7d34f7bb5cd8d6002cc7469ec1bb11d7b2e34949b9a19a6ea26cb89a5c14df0","isBugfix":0.9717,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9643,"feature":0.0082,"refactor":0.0148,"tests_only":0.005,"docs_only":0.0039,"dependency":0.0038},"confidence":0.9162},"scope":{"score":0.2284,"probabilities":{"0":0.8162,"1":0.1392,"2":0.0446},"confidence":0.5313},"risk":{"score":0.3364,"probabilities":{"0":0.6897,"1":0.2842,"2":0.0261},"confidence":0.3357},"area":{"choice":"catalog","probabilities":{"catalog":0.7075,"checkout":0.0073,"customer":0.0045,"admin":0.029,"graphql_api":0.0042,"framework":0.0172,"frontend":0.2202,"other":0.0101},"confidence":0.4861},"securityRelevant":0.0056,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0093,"2.4.0-p1":0.005,"2.4.1":0.004,"2.4.1-p1":0.0035,"2.4.2":0.005,"2.4.2-p1":0.0044,"2.4.2-p2":0.0069,"2.4.3":0.0082,"2.4.3-p1":0.0084,"2.4.3-p2":0.0085,"2.4.3-p3":0.0055,"2.4.4":0.0093,"2.4.4-p1":0.0068,"2.4.4-p10":0.0055,"2.4.4-p11":0.0059,"2.4.4-p12":0.0054,"2.4.4-p13":0.0054,"2.4.4-p14":0.0065,"2.4.4-p15":0.0052,"2.4.4-p16":0.0062,"2.4.4-p17":0.0053,"2.4.4-p18":0.0044,"2.4.4-p2":0.0031,"2.4.4-p3":0.0037,"2.4.4-p4":0.0036,"2.4.4-p5":0.0037,"2.4.4-p6":0.0044,"2.4.4-p7":0.0045,"2.4.4-p8":0.0038,"2.4.4-p9":0.0036,"2.4.5":0.0092,"2.4.5-p1":0.0064,"2.4.5-p10":0.0056,"2.4.5-p11":0.0075,"2.4.5-p12":0.0066,"2.4.5-p13":0.0059,"2.4.5-p14":0.0061,"2.4.5-p15":0.006,"2.4.5-p16":0.0061,"2.4.5-p17":0.0055,"2.4.5-p2":0.0032,"2.4.5-p3":0.0039,"2.4.5-p4":0.0041,"2.4.5-p5":0.0046,"2.4.5-p6":0.0044,"2.4.5-p7":0.0046,"2.4.5-p8":0.0038,"2.4.5-p9":0.0033,"2.4.6":0.0145,"2.4.6-p1":0.0118,"2.4.6-p10":0.0072,"2.4.6-p11":0.0097,"2.4.6-p12":0.0084,"2.4.6-p13":0.0078,"2.4.6-p14":0.0086,"2.4.6-p15":0.0066,"2.4.6-p2":0.0045,"2.4.6-p3":0.0054,"2.4.6-p4":0.0069,"2.4.6-p5":0.0058,"2.4.6-p6":0.0069,"2.4.6-p7":0.0067,"2.4.6-p8":0.0053,"2.4.6-p9":0.004,"2.4.7":0.0098,"2.4.7-p1":0.0083,"2.4.7-p10":0.0082,"2.4.7-p2":0.0061,"2.4.7-p3":0.0082,"2.4.7-p4":0.013,"2.4.7-p5":0.009,"2.4.7-p6":0.0114,"2.4.7-p7":0.0123,"2.4.7-p8":0.0087,"2.4.7-p9":0.0058,"2.4.8":0.0108,"2.4.8-p1":0.0104,"2.4.8-p2":0.0139,"2.4.8-p3":0.0123,"2.4.8-p4":0.0128,"2.4.8-p5":0.0106,"2.4.9":0.0152,"unspecified":0.4313},"confidence":0.1807},"backportWorthy":{"score":1.5843,"probabilities":{"0":0.0924,"1":0.231,"2":0.6766},"confidence":0.2796}},"curated":{"title":"Fixes the Shop By Category filter showing when Show Category Filter is set to No","description":"On a non-anchor category, the Shop By category layered navigation filter is showing although Show Category Filter is set to No. The catalog.leftnav block in catalog_category_view_type_default.xml now has ifconfig=\"catalog/layered_navigation/display_category\", so the block is rendered based on the Show Category Filter config.","categories":["Catalog/Product"],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-38474 details"}