Combined Fields Filter does not work with body summary

Created on 19 April 2019, about 5 years ago
Updated 10 June 2024, 16 days ago

Problem/Motivation

It is not currently possible to use the views 'Combined fields filter' to search the 'Summary' value of a given long text field. When you add the long text field, the filter runs on the full field value but not on the summary value.

Steps to reproduce:

  1. Install Drupal
  2. Create a basic page node with a summary value 'xyz' that does not appear in the body field value
  3. Create a view of basic pages with the title and body fields
  4. Add a combined fields filter that includes the field with a summary
  5. Search for 'xyz'
  6. The node does not appear because the filter does not include the summary value

Proposed resolution

Add support for searching the summary value of a long text field.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Original post
----

This issue was reported for drupal 7 long time ago:
https://www.drupal.org/project/views/issues/2934230 →
I am trying to use the Combined Fields Filter to filter based on text contained within a body field SUMMARY (combined with other fields, of course), but no matter what I do, the filter only returns results if I enter text contained within the body field VALUE. I've tried many things, such as rewriting the output of the body field as summary text or choosing field formatters that display the summary when present, but nothing works. I can get the view to display the body field summary just fine in the results, but I cannot filter the view on it. I can add a second exposed filter, to filter on body:summary, and that works just fine, but I cannot use Combined Fields Filter to do so, as it ignores any settings I have configured on my body field to display the summary.

✨ Feature request
Status

Needs work

Version

11.0 🔥

Component
Views  →

Last updated about 7 hours ago

Created by

🇺🇸United States awm

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024