Add pager to admin subscriptions view, and other minor fixes

Created on 5 May 2025, 12 days ago

Problem/Motivation

  1. The admin subscriptions view (user_mailman_subscriptions) can time out when there are too many subscriptions.
  2. The view currently shows unsubscribed users. It's hard to think of a use case for that.
  3. The existing exposed statuses filter includes "unsubscribed," which can be removed.
  4. The statuses should also be reordered so that "subscribed to all" is at the top.
  5. The "Mailman lists" exposed filter currently is ordered by description. It needs to be ordered by the displayed value, list name.
  6. Remove content_editor and test_role from "remember_roles" -- see issue 2997393 for more detail pertaining to Drupal 11.

Proposed resolution

  1. Add a pager to the view.
  2. Add a filter to hide users with "unsubscribed" status.
  3. Remove "unsubscribed" status from exposed filter options.
  4. Change order of statuses in /src/controller/StatusController.php, line 51.
  5. Change list filter sort to "name" in /src/Plugin/views/filter/ListDescriptions.php. line 53.
  6. Remove remember_roles (exc. auth, anon, admin) from views.view.user_mailman_subscriptions.yml, multiple locations.
πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rclemings

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024