[Django] #34751: FilteredSelectMultiple ignores select optgroup

11 views
Skip to first unread message

Django

unread,
Jul 28, 2023, 9:12:53 PM7/28/23
to django-...@googlegroups.com
#34751: FilteredSelectMultiple ignores select optgroup
-------------------------------------+-------------------------------------
Reporter: rzrwolf | Owner: nobody
Type: Bug | Status: new
Component: | Version: 4.2
contrib.admin | Keywords:
Severity: Normal | FilteredSelectMultiple optgroups
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
FilteredSelectMultiple ignores all optgroups defined, however simple
Select and SelectMultiple lists optgroups as defined.

[[Image(https://imgbox.com/PzcX35PI)]]

So far tracked issue to the FilteredSelectMultiple own javascript:
contrib\admin\static\admin\js\SelectFilter2.js

It seems script just ignores/cleanes optgroups tags

Is it possible to fix this issue? Can someone please make a quick look?

--
Ticket URL: <https://code.djangoproject.com/ticket/34751>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jul 28, 2023, 9:16:06 PM7/28/23
to django-...@googlegroups.com
#34751: FilteredSelectMultiple ignores select optgroup
-------------------------------------+-------------------------------------
Reporter: rzrwolf | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 4.2
Severity: Normal | Resolution:
Keywords: | Triage Stage:
FilteredSelectMultiple optgroups | Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by rzrwolf:

Old description:

> FilteredSelectMultiple ignores all optgroups defined, however simple
> Select and SelectMultiple lists optgroups as defined.
>
> [[Image(https://imgbox.com/PzcX35PI)]]
>
> So far tracked issue to the FilteredSelectMultiple own javascript:
> contrib\admin\static\admin\js\SelectFilter2.js
>
> It seems script just ignores/cleanes optgroups tags
>
> Is it possible to fix this issue? Can someone please make a quick look?

New description:

FilteredSelectMultiple ignores all optgroups defined, however simple
Select and SelectMultiple lists optgroups as defined.

[[Image(https://freeimage.host/i/HZIt9xS)]]

So far tracked issue to the FilteredSelectMultiple own javascript:
contrib\admin\static\admin\js\SelectFilter2.js

It seems script just ignores/cleanes optgroups tags

Is it possible to fix this issue? Can someone please make a quick look?

--

--
Ticket URL: <https://code.djangoproject.com/ticket/34751#comment:1>

Django

unread,
Jul 29, 2023, 2:49:38 AM7/29/23
to django-...@googlegroups.com
#34751: FilteredSelectMultiple ignores select optgroup
-------------------------------------+-------------------------------------
Reporter: rzrwolf | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 4.2
Severity: Normal | Resolution: duplicate

Keywords: | Triage Stage:
FilteredSelectMultiple optgroups | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => duplicate


Comment:

Duplicate of #13883.

--
Ticket URL: <https://code.djangoproject.com/ticket/34751#comment:2>

Reply all
Reply to author
Forward
0 new messages