home / django_tickets / tickets

tickets: 31597

This data as json

id created changetime last_pulled_from_trac stage status component type severity version resolution summary description owner reporter keywords easy has_patch needs_better_patch needs_tests needs_docs ui_ux
31597 2020-05-16 19:16:33 2020-05-20 19:36:03 2022-03-06 04:57:03.389832 Ready for checkin closed contrib.admin Bug Release blocker 3.1 fixed "Clear all filters" link removes TO_FIELD_VAR and is always displayed in raw_id_fields popup. The new "Clear all filters" link does not play nice with `raw_id_fields` lookup popup window. The new link is shown in the popup regardless of any filters being selected or not. Present in `3.1a1`. To reproduce: * create two models, `ModelA` and `ModelB` * create a Foreign key field on `ModelA` pointing to `ModelB` * create a boolean field on `ModelB` * create an admin page for `ModelA` * add the FK field to `raw_id_fields` list * create an admin page for `ModelB` * add the boolean field to `list_filter` list * open the admin page in a browser * click on the "magnifying class" icon for the `ModelB` field * expected: * no `X Clear all filters` link * actual: * yes `X Clear all filters` link Additionally, clicking the link removes `_to_field` query param, which it should not do (`_popup` param is correctly preserved). [[Image(clearallfiltersrawidfields.jpg)]] frnhr frnhr   0 1 0 0 0 1
Powered by Datasette · Queries took 1.378ms