{"data":{"id":"magento2-37852","source":"github-pr","sourceRef":"magento/magento2#37852","title":"Fix wording of filter item on layered navigation","pr":{"number":37852,"url":"https://github.com/magento/magento2/pull/37852","author":"yogesh-valiya","mergedAt":"2024-07-04T16:37:35Z","mergeCommit":"907ff23723338e9ab89edd4ad4503e2adf127d39","headCommit":"830cd1f7bb0dc98cd6a7f75da863809e43d09a07","baseRef":"2.4-develop","diffSha256":"4e718dc3bb567c47c1567f0bdb319a0cc4952640aa2d1b0da6fbcf8b22fd197e"},"issues":[{"number":38789,"url":"https://github.com/magento/magento2/issues/38789","title":"[Issue] Fix wording of filter item on layered navigation","labels":["Area: Catalog","Component: Catalog","Issue: Confirmed","Priority: P3","Progress: done","Reported on 2.4.x","Reproduced on 2.4.x"],"kind":"pr-derived"}],"fixedIn":"2.4.8","containingTags":["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"],"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":"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.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"],"components":["magento/module-layered-navigation"],"files":[{"path":"app/code/Magento/LayeredNavigation/view/frontend/templates/layer/filter.phtml","change":"modified","package":"magento/module-layered-navigation"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":4,"mergeBatched":false,"excluded":null,"sections":{"description":"The words `item` and `items` are incorrectly used in the layered navigation filter item.","stepsToReproduce":null,"expectedResult":null,"actualResult":null,"source":"pr"},"signatures":[],"labels":{"area":["Catalog"],"component":["Catalog"],"priority":"P3","severity":null,"reportedOn":["2.4.x"]},"categories":["Catalog/Product"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"103201bea4006e98f99a4de4ff32569d9c3f6229260903c8228e7133f7c576fe","isBugfix":0.886,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9465,"feature":0.0062,"refactor":0.0196,"tests_only":0.005,"docs_only":0.0191,"dependency":0.0036},"confidence":0.8761},"scope":{"score":0.1467,"probabilities":{"0":0.8754,"1":0.1025,"2":0.0221},"confidence":0.666},"risk":{"score":0.229,"probabilities":{"0":0.7843,"1":0.2024,"2":0.0133},"confidence":0.4844},"area":{"choice":"frontend","probabilities":{"catalog":0.2847,"checkout":0.0067,"customer":0.0054,"admin":0.017,"graphql_api":0.0046,"framework":0.0108,"frontend":0.6237,"other":0.0471},"confidence":0.3975},"securityRelevant":0.0046,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0048,"2.4.0-p1":0.005,"2.4.1":0.0054,"2.4.1-p1":0.0048,"2.4.2":0.0093,"2.4.2-p1":0.0081,"2.4.2-p2":0.0091,"2.4.3":0.0138,"2.4.3-p1":0.0156,"2.4.3-p2":0.0152,"2.4.3-p3":0.0075,"2.4.4":0.0212,"2.4.4-p1":0.0121,"2.4.4-p10":0.0082,"2.4.4-p11":0.0086,"2.4.4-p12":0.0068,"2.4.4-p13":0.007,"2.4.4-p14":0.009,"2.4.4-p15":0.0068,"2.4.4-p16":0.0081,"2.4.4-p17":0.0067,"2.4.4-p18":0.0055,"2.4.4-p2":0.0027,"2.4.4-p3":0.003,"2.4.4-p4":0.0034,"2.4.4-p5":0.004,"2.4.4-p6":0.0054,"2.4.4-p7":0.005,"2.4.4-p8":0.005,"2.4.4-p9":0.0046,"2.4.5":0.0174,"2.4.5-p1":0.0124,"2.4.5-p10":0.0079,"2.4.5-p11":0.0126,"2.4.5-p12":0.0116,"2.4.5-p13":0.0081,"2.4.5-p14":0.0098,"2.4.5-p15":0.0104,"2.4.5-p16":0.008,"2.4.5-p17":0.0076,"2.4.5-p2":0.0035,"2.4.5-p3":0.0056,"2.4.5-p4":0.006,"2.4.5-p5":0.005,"2.4.5-p6":0.0068,"2.4.5-p7":0.0067,"2.4.5-p8":0.0057,"2.4.5-p9":0.005,"2.4.6":0.046,"2.4.6-p1":0.0241,"2.4.6-p10":0.0115,"2.4.6-p11":0.0134,"2.4.6-p12":0.0132,"2.4.6-p13":0.0119,"2.4.6-p14":0.0123,"2.4.6-p15":0.0095,"2.4.6-p2":0.0052,"2.4.6-p3":0.0077,"2.4.6-p4":0.0104,"2.4.6-p5":0.0077,"2.4.6-p6":0.0121,"2.4.6-p7":0.0093,"2.4.6-p8":0.0067,"2.4.6-p9":0.0066,"2.4.7":0.0182,"2.4.7-p1":0.0136,"2.4.7-p10":0.0094,"2.4.7-p2":0.01,"2.4.7-p3":0.0155,"2.4.7-p4":0.0172,"2.4.7-p5":0.0134,"2.4.7-p6":0.0155,"2.4.7-p7":0.0148,"2.4.7-p8":0.0105,"2.4.7-p9":0.0072,"2.4.8":0.0208,"2.4.8-p1":0.0155,"2.4.8-p2":0.0168,"2.4.8-p3":0.0161,"2.4.8-p4":0.0148,"2.4.8-p5":0.014,"2.4.9":0.0168,"unspecified":0.1505},"confidence":0.0227},"backportWorthy":{"score":0.5214,"probabilities":{"0":0.6085,"1":0.2617,"2":0.1298},"confidence":0.1834}},"curated":{"title":"Layered navigation filter item count uses item and items incorrectly","description":"The words item and items are incorrectly used in the layered navigation filter item count: one part of filter.phtml uses item when the count is not 1, and the second uses items when the count is 1. The change in the LayeredNavigation filter.phtml uses item when getCount() == 1 and items in the else part in both parts.","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-37852 details"}