Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
#2086783: Remove Views field handlers for "virtual" fields will remove the field handlers for "virtual fields" (i.e., ones added by data alterations, and the "Item language" field). However, if you have "Retrieve results data from Solr" set, all indexes on that server will actually be able to show those fields, and there are pretty good use cases for using this feature.
Therefore, we should move support for it into this module, and only display the fields if they will actually show anything.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2099683-1--virtual_fields.patch | 2.69 KB | drunken monkey |
Comments
Comment #1
drunken monkeyPatch attached, please review!
(Along, of course, with the patch from #2086783: Remove Views field handlers for "virtual" fields.)
Comment #2
drunken monkeyOK, if no-one wants to test we'll just have to hope this works properly in all cases.
Committed.
Comment #3
jason.fisher CreditAttribution: jason.fisher commentedAre virtual fields an alternative to using computed fields to combine multiple fields or concatenate a multi-valued field into a string?
Comment #4
drunken monkeyTo some extent, yes. As long as you can create the desired structure/content with the "Aggregated fields" (or some other) data alteration, this is an alternative.