Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294468

Boolean field with 'Use field label instead of the "On value" as label' option shows no label in views filter options

$
0
0

Problem/Motivation

1. Create a FieldAPI field on an entity, and select the option "Use field label instead of the "On value" as label"
2. Create a view of this entity type
3. Add the boolean field as a filter
4. Problem: in the options popup for the filter handler, the 'Options' select box shows:

- SelectAll
- [BLANK]
- [BLANK]

Short of guessing at of the blank options and then seeing what effect it has on the query, it's impossible to use this.


Proposed resolution

Fix it.

Remaining tasks

User interface changes

The boolean field will work again with views.

API changes

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue categoryBug because the display for boolean fields in views is not working as expected
Issue priorityMajor because confusing UI for boolean fields
Prioritized changesThe main goal of this issue is usability

Data model changes


Viewing all articles
Browse latest Browse all 294468

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>