{"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":"ff67b45dff924355cc55a6978146edb8062ae4a0a222451f1632b7f5dd18f42a","isBugfix":0.9729,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9508,"feature":0.0081,"refactor":0.0124,"tests_only":0.0044,"docs_only":0.0033,"dependency":0.0029,"cleanup":0.0181},"confidence":0.8888},"scope":{"score":0.206,"probabilities":{"0":0.8336,"1":0.1269,"2":0.0395},"confidence":0.5687},"risk":{"score":0.3313,"probabilities":{"0":0.6947,"1":0.2793,"2":0.026},"confidence":0.342},"area":{"choice":"catalog","probabilities":{"catalog":0.7181,"checkout":0.0069,"customer":0.0043,"admin":0.03,"graphql_api":0.0041,"framework":0.0174,"frontend":0.2091,"other":0.0101},"confidence":0.498},"securityRelevant":0.0051,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0094,"2.4.0-p1":0.0048,"2.4.1":0.0035,"2.4.1-p1":0.0032,"2.4.2":0.005,"2.4.2-p1":0.0042,"2.4.2-p2":0.0063,"2.4.3":0.0072,"2.4.3-p1":0.0079,"2.4.3-p2":0.0089,"2.4.3-p3":0.005,"2.4.4":0.0082,"2.4.4-p1":0.0062,"2.4.4-p10":0.0052,"2.4.4-p11":0.0056,"2.4.4-p12":0.0053,"2.4.4-p13":0.0056,"2.4.4-p14":0.006,"2.4.4-p15":0.0049,"2.4.4-p16":0.0063,"2.4.4-p17":0.0046,"2.4.4-p18":0.0044,"2.4.4-p2":0.0028,"2.4.4-p3":0.0034,"2.4.4-p4":0.0033,"2.4.4-p5":0.0036,"2.4.4-p6":0.0039,"2.4.4-p7":0.0043,"2.4.4-p8":0.0041,"2.4.4-p9":0.0035,"2.4.5":0.0078,"2.4.5-p1":0.0061,"2.4.5-p10":0.0053,"2.4.5-p11":0.0072,"2.4.5-p12":0.0069,"2.4.5-p13":0.0062,"2.4.5-p14":0.0057,"2.4.5-p15":0.0059,"2.4.5-p16":0.0062,"2.4.5-p17":0.0053,"2.4.5-p2":0.0029,"2.4.5-p3":0.0035,"2.4.5-p4":0.0037,"2.4.5-p5":0.0044,"2.4.5-p6":0.0047,"2.4.5-p7":0.0044,"2.4.5-p8":0.0037,"2.4.5-p9":0.0031,"2.4.6":0.0125,"2.4.6-p1":0.0111,"2.4.6-p10":0.0071,"2.4.6-p11":0.0105,"2.4.6-p12":0.0086,"2.4.6-p13":0.0079,"2.4.6-p14":0.0094,"2.4.6-p15":0.0068,"2.4.6-p2":0.0042,"2.4.6-p3":0.0064,"2.4.6-p4":0.0077,"2.4.6-p5":0.0056,"2.4.6-p6":0.0065,"2.4.6-p7":0.0069,"2.4.6-p8":0.0053,"2.4.6-p9":0.0041,"2.4.7":0.0099,"2.4.7-p1":0.0089,"2.4.7-p10":0.0087,"2.4.7-p2":0.0064,"2.4.7-p3":0.009,"2.4.7-p4":0.0121,"2.4.7-p5":0.009,"2.4.7-p6":0.0112,"2.4.7-p7":0.0119,"2.4.7-p8":0.0076,"2.4.7-p9":0.0059,"2.4.8":0.0134,"2.4.8-p1":0.0114,"2.4.8-p2":0.016,"2.4.8-p3":0.0144,"2.4.8-p4":0.015,"2.4.8-p5":0.0117,"2.4.9":0.0164,"unspecified":0.4309},"confidence":0.1806},"backportWorthy":{"score":1.5865,"probabilities":{"0":0.0955,"1":0.2225,"2":0.682},"confidence":0.2856}},"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"}