[regression] COUNT aggregation no longer outputs count value for some fields

Created on 8 April 2025, 5 days ago

Problem/Motivation

See https://www.drupal.org/project/drupal/issues/2735997#comment-16058371 🐛 Decimal separator and decimals settings ignored when aggregating decimal fields Needs work

TLDR; using COUNT on some fields (so far tested with changed and created base fields) no longer outputs the actual count. Reverting 🐛 Decimal separator and decimals settings ignored when aggregating decimal fields Needs work fixes it.

Steps to reproduce

Steps to reproduce:
- Install standard on 11.1.6
- Install rest module
- Import attached view ( https://www.drupal.org/files/issues/2025-04-08/views.view_.test_count.yml )
- Go to /test/count
- Notice HTML in changed_1 field
- Revert commit
- Notice counts in changed_1 field

Proposed resolution

Add handlers back for COUNT and COUNT Distinct
Test coverage

Remaining tasks

Do it

🐛 Bug report
Status

Active

Version

11.0 🔥

Component

views.module

Created by

🇦🇺Australia acbramley

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