Problem/Motivation

On the redirect admin view, the exposed "Site" filter is a plain text input
that requires typing the raw site ID. Admins should be able to filter by site
label instead.

Proposed resolution

In `SitesRedirectViewsHooks::formViewsExposedFormAlter()`, switch the exposed
`site_id` filter to the `site_select` element. Keep it hidden on non-default
sites (they are already scoped to their own redirects), and guard the view
lookup against non-`ViewExecutable` values.

Remaining tasks

  • Convert exposed filter to `site_select`
  • Guard against non-`ViewExecutable`
  • Unit test coverage
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

hydra created an issue. See original summary.

  • hydra committed 81ee9d4f on 1.x
    feat: #3605741 Use site select for the exposed redirect Site filter
    
    By...
hydra’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.