mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #34283 -- Escaped title in admin's changelist filters.
Regression in 27aa7035f5.
This commit is contained in:
committed by
Mariusz Felisiak
parent
0265b1b49b
commit
20a0850099
@@ -11,7 +11,7 @@
|
||||
}
|
||||
|
||||
Object.entries(filters).forEach(([key, value]) => {
|
||||
const detailElement = document.querySelector(`[data-filter-title='${key}']`);
|
||||
const detailElement = document.querySelector(`[data-filter-title='${CSS.escape(key)}']`);
|
||||
|
||||
// Check if the filter is present, it could be from other view.
|
||||
if (detailElement) {
|
||||
|
||||
Reference in New Issue
Block a user