Changes between Initial Version and Version 2 of Ticket #32876


Ignore:
Timestamp:
Jun 23, 2021, 9:07:00 PM (3 years ago)
Author:
A-hông
Comment:

q(query), o(order) and all(display all) can be set at the same time. q(query) and o(order) are kept but all(display all) not, when from change form back to changelist.

all should be kept in the fillter of changelist. I found parse_qsl in admin_urls.py will remove the keys which has no value.

from urllib.parse import parse_qsl, unquote, urlparse, urlunparse parse_qsl('q=2&all=') => [('q', '2')]

It is why all(display all) cannot be kept.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32876

    • Property Component Uncategorizedcontrib.admin
    • Property Resolutioninvalid
    • Property Status newclosed
  • Ticket #32876 – Description

    initial v2  
    555. Enter change form page
    666. Save
    7 7. The order is keeped but `all` is disappeared
     77. The order is kept but `all` is disappeared
Back to Top