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:
- Install Drupal
- Create a basic page node with a summary value 'xyz' that does not appear in the body field value
- Create a view of basic pages with the title and body fields
- Add a combined fields filter that includes the field with a summary
- Search for 'xyz'
- 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.