Close button read only changeview of admin does not preserve filters
Save and Delete buttons in change view of admin send you back to list view with preserved filters. In some cases (for example user does not have change permission) there is Close button instead of save buttons.
Suggested change to make the behavior of Close button consistent with Save is in template:
contrib/admin/templates/admin/submit_line.html
{% if show_close %}
{% url opts|admin_urlname:'changelist' as close_url %}
<a href="{% add_preserved_filters close_url %}" class="closelink">{% translate 'Close' %}</a>
{% endif %}
Change History
(8)
Owner: |
changed from nobody to Rahmat Faisal
|
Status: |
new → assigned
|
Triage Stage: |
Unreviewed → Accepted
|
Has patch: |
set
|
Needs tests: |
set
|
Needs tests: |
unset
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
gonna look