Fix views data field id for boolean

Created on 7 October 2024, 6 months ago
Updated 31 January 2025, 2 months ago

Problem/Motivation

Configuration that can be expressed as a boolean is not currently passed to Views properly, which means that the boolean display options are not provided.

Steps to reproduce

  • Create a view of field configuration.
  • Add a "field" that should be boolean, like Required.
  • The display options come up for a standard field, instead of the options for displaying boolean values.

Proposed resolution

A one-word change in the code, see the fork and merge request for this issue.

Remaining tasks

Review, approve and merge this pull request. Although, that may not be straightforward because this module doesn't appear to have a dev branch in-sync with the current recommend version?

User interface changes

The cache will need to be cleared, and Views that have configuration of type boolean may need to be updated and re-saved.

API changes

The cache will need to be cleared, and Views that have configuration of type boolean may need to be updated and re-saved.

Data model changes

None.

πŸ› Bug report
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States RoloDMonkey

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