Problem/Motivation

People are unable to reset the form, even through "ctrl-click" to deselect items, it didn't reset the form.
See the /admin/content/payment view.
For example, when you select one or more payment methods in the filter, then apply the filters. If you try to unselect the filters by ctrl-clicking the selected filters and then applying again, you get your old filter back. This is a result of the "remember filters" option.

Proposed resolution

Add a reset button to the form.

Remaining tasks

Write patch. Review. Commit.

User interface changes

Added a reset button.

API changes

None.

Data model changes

None.

Release notes snippet

- Added a reset button to the payments view.

CommentFileSizeAuthor
#2 payment-reset-button-3033882-2.patch782 bytesbskibinski

Comments

bskibinski created an issue. See original summary.

bskibinski’s picture

Status: Active » Needs review
StatusFileSize
new782 bytes
paulvandenburg’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

I agree that the patch is a useful addition to the payments view.
However it is only a partial solution to the problem.

The rest of the problem, that you can't unselect the filter (unless you use the reset button), lies within the views module.
See this issue #1080164-33: Exposed filters with remember me does not clear if everything is submitted empty.

So I'm marking this issue RTBC as this is as far as this issue can be resolved within the payment module.