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.
Hi
It would be awesome if custom search fields, defined in propertyInfo, are also available as views field instead of just as filter.
Greets
TimLeytens
Comments
Comment #1
drunken monkeyThey originally were, but due to some data alterations executing very expensive operations (e.g., parsing PDF attachments) this was dropped. It also might not be possible in the future, when Search API tries to use more of Entity API's Views integration.
If you want to both index and display an additional field, you should probably consider
hook_entity_property_info_alter()
instead of a data alteration.Comment #2
marcoka CreditAttribution: marcoka commentedwhat would be the advantage of that. What are you trying to do? maybe i can help.
Comment #3
Nick_vhComment #4
drunken monkeySee #2086783: Remove Views field handlers for "virtual" fields and #2099683: Add support for "virtual fields" in Views.