Fix groupmedia_form_views_exposed_form_alter implementation

Created on 11 September 2023, over 1 year ago

Problem/Motivation

The merged groupmedia_form_views_exposed_form_alter() implementation in the issue #3188566 assumes that the view always has the same fields. That assumption is wrong considering sites might override the view provided by the module.

Steps to reproduce

Override the group_media view and change the exposed form and remove the bundle filter.

Proposed resolution

Make sure to check form fields before acting on them.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇧🇪Belgium joevagyok

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

Comments & Activities

Production build 0.71.5 2024