{"data":{"id":"magento2-39535","source":"github-pr","sourceRef":"magento/magento2#39535","title":"[Small Bug] Filter of Admin Panel `listing component` cannot hit when field value contains `\\`","pr":{"number":39535,"url":"https://github.com/magento/magento2/pull/39535","author":"wubinworks","mergedAt":"2025-07-04T11:31:47Z","mergeCommit":"9556299a79ef3e20cd5696a82f94f764ada9027c","headCommit":"2ce2683f5e068eb90b1b1d9bcb2ebfa0f905f430","baseRef":"2.4-develop","diffSha256":"4e6ba036802917106fc8ec72d9aa0a39626839f9c0d05db6949cfbc9be4ebe57"},"issues":[{"number":39513,"url":"https://github.com/magento/magento2/issues/39513","title":"[Small Bug] Filter of Admin Panel `listing component` cannot hit when field value contains `\\`","labels":["Area: Content / CMS","Component: Admin","Issue: Confirmed","Priority: P2","Progress: done","Reported on 2.4.7","Reproduced on 2.4.x"],"kind":"human"}],"fixedIn":"2.4.9","containingTags":["2.4.9"],"reportedOn":"2.4.7","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":"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","2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5"],"components":["magento/module-ui"],"files":[{"path":"app/code/Magento/Ui/Component/Filters/Type/Input.php","change":"modified","package":"magento/module-ui"}],"stripped":{"tests":["app/code/Magento/Ui/Test/Unit/Component/Filters/Type/InputTest.php"],"docs":[],"outsideCode":[]},"linesChanged":6,"mergeBatched":false,"excluded":null,"sections":{"description":"Result 2 is Not Hit","stepsToReproduce":"<ins>This is only an example for \"CMS Page\", but it occurs on all `listing component`</ins>\n\n1. Go to Admin Panel `Content > Elements > Pages`\n2. Create a page with title `Magento Store`\n3. Go back to grid and click `Filters` button to search title with `Magento Store`\n\nResult 1: Hit\n\n4. Create a page with title `Magento\\Store`\n5. Go back to grid and click `Filters` button to search title with `Magento\\Store`\n\nResult 2: Not Hit (_**Unexpected**_)","expectedResult":"Result 1 & 2 both Hit.","actualResult":"Result 2 is Not Hit","source":"issue"},"signatures":[],"labels":{"area":["Content / CMS"],"component":["Admin"],"priority":"P2","severity":null,"reportedOn":["2.4.7"]},"categories":["Admin"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"ae3e44c35e7f6141e0159a8f287fb877aed0b350763e254325b99e1497669117","isBugfix":0.9844,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9592,"feature":0.0053,"refactor":0.0086,"tests_only":0.0092,"docs_only":0.004,"dependency":0.0044,"cleanup":0.0093},"confidence":0.9071},"scope":{"score":0.5295,"probabilities":{"0":0.5385,"1":0.3935,"2":0.068},"confidence":0.1742},"risk":{"score":0.3595,"probabilities":{"0":0.6873,"1":0.2659,"2":0.0468},"confidence":0.3179},"area":{"choice":"admin","probabilities":{"catalog":0.0108,"checkout":0.0042,"customer":0.0038,"admin":0.8969,"graphql_api":0.0044,"framework":0.0551,"frontend":0.008,"other":0.0168},"confidence":0.7806},"securityRelevant":0.5597,"reportedVersion":{"choice":"2.4.7","probabilities":{"2.4.0":0.0025,"2.4.0-p1":0.0025,"2.4.1":0.0023,"2.4.1-p1":0.0023,"2.4.2":0.0024,"2.4.2-p1":0.0025,"2.4.2-p2":0.0027,"2.4.3":0.0033,"2.4.3-p1":0.0035,"2.4.3-p2":0.0034,"2.4.3-p3":0.0033,"2.4.4":0.003,"2.4.4-p1":0.0029,"2.4.4-p10":0.0036,"2.4.4-p11":0.0038,"2.4.4-p12":0.0036,"2.4.4-p13":0.0034,"2.4.4-p14":0.0043,"2.4.4-p15":0.0033,"2.4.4-p16":0.0034,"2.4.4-p17":0.0033,"2.4.4-p18":0.0028,"2.4.4-p2":0.0022,"2.4.4-p3":0.0026,"2.4.4-p4":0.0027,"2.4.4-p5":0.0028,"2.4.4-p6":0.0033,"2.4.4-p7":0.0037,"2.4.4-p8":0.0028,"2.4.4-p9":0.0027,"2.4.5":0.0035,"2.4.5-p1":0.003,"2.4.5-p10":0.0031,"2.4.5-p11":0.0035,"2.4.5-p12":0.0043,"2.4.5-p13":0.0044,"2.4.5-p14":0.0053,"2.4.5-p15":0.0033,"2.4.5-p16":0.0045,"2.4.5-p17":0.0037,"2.4.5-p2":0.0027,"2.4.5-p3":0.0027,"2.4.5-p4":0.003,"2.4.5-p5":0.003,"2.4.5-p6":0.0035,"2.4.5-p7":0.0041,"2.4.5-p8":0.0034,"2.4.5-p9":0.0028,"2.4.6":0.0078,"2.4.6-p1":0.0087,"2.4.6-p10":0.0066,"2.4.6-p11":0.0071,"2.4.6-p12":0.0067,"2.4.6-p13":0.006,"2.4.6-p14":0.0079,"2.4.6-p15":0.0051,"2.4.6-p2":0.003,"2.4.6-p3":0.004,"2.4.6-p4":0.0047,"2.4.6-p5":0.0051,"2.4.6-p6":0.0047,"2.4.6-p7":0.0054,"2.4.6-p8":0.0042,"2.4.6-p9":0.0032,"2.4.7":0.5824,"2.4.7-p1":0.0173,"2.4.7-p10":0.01,"2.4.7-p2":0.0118,"2.4.7-p3":0.0113,"2.4.7-p4":0.0108,"2.4.7-p5":0.0098,"2.4.7-p6":0.0113,"2.4.7-p7":0.0115,"2.4.7-p8":0.0088,"2.4.7-p9":0.0077,"2.4.8":0.0081,"2.4.8-p1":0.0073,"2.4.8-p2":0.0073,"2.4.8-p3":0.0082,"2.4.8-p4":0.0072,"2.4.8-p5":0.0063,"2.4.9":0.0082,"unspecified":0.0098},"confidence":0.334},"backportWorthy":{"score":1.381,"probabilities":{"0":0.1716,"1":0.2759,"2":0.5525},"confidence":0.1163}},"curated":{"title":"Fixes admin grid filter with no hit for a value that contains a backslash","description":"The Admin Grid Filter cannot return correct result for a keyword that contains a backslash, for example Magento\\Store, in any listing component with a text input LIKE condition. Magento\\Ui\\Component\\Filters\\Type\\Input now escapes the backslash, as well as % and _, in the LIKE condition.","categories":["Admin"],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":{"2.4.8-p5":{"before":"fail","after":"pass","adapted":false,"runAt":"2026-10-06T09:20:10.417Z","releaseCommit":"870a22c63d9d9b68fa3297962e2d5d5841115814","suites":{"unit":{"before":"fail","after":"pass","runAt":"2026-10-06T09:20:10.417Z"}}},"2.4.7-p10":{"before":"not-runnable","after":"error","adapted":false,"runAt":"2026-10-06T09:29:19.336Z","releaseCommit":"72561bf80652f57cc642a03e2c9a51d74a285b14","suites":{"unit":{"before":"not-runnable","after":"error","runAt":"2026-10-06T09:29:19.336Z"}}}}},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-39535 details"}