Reset button shows on exposed filter defaults

Created on 6 December 2016, over 7 years ago
Updated 4 May 2024, 14 days ago

Problem/Motivation

When pagination navigation happens, even tough exposed filters are default, the reset button will be displayed.

Steps to reproduce

  1. Go to /admin/content view with enough nodes to trigger pagination
  2. Don't fill in any filters
  3. Go to another page
  4. Reset button appears

Proposed resolution

Don't display reset button when form is empty and using only pagination.

Remaining tasks

Review patch
Commit

User interface changes

NA

API changes

NA

Data model changes

NA

Release notes snippet

NA

Original Post

When pagination navigation happens, even tough exposed filters are default, the reset button will be displayed.

Steps to reproduce

  1. (optional) Edit the content views pager to make sure it has more than one page.
  2. Got to content and without changing any filters navigate to the second page

This happens with all views and in all 8.x drupal.

๐Ÿ› Bug report
Status

Closed: outdated

Version

11.0 ๐Ÿ”ฅ

Component
Viewsย  โ†’

Last updated about 10 hours ago

Created by

๐Ÿ‡ท๐Ÿ‡ดRomania _Archy_

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.67.2 2024