Problem/Motivation
Mail entity queue item entity custom fields doesn't show in when trying to Add Field in Views.
Steps to reproduce
1. Add a new field to entity Mail entity queue item.
2. Create a view that shows a table of Mail entity queue item entities.
3. Try to add your new field in the view. It doesn't show.
Proposed resolution
In the entity annotation, remove data_table. Views associates the fields with data_table but as the entity is not translatable, data_table is not used as only translatable entities have it.
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3333030-custom-fields-do-not-show-in-views-2.patch | 1.25 KB | evamtinez |
| #2 | 3333030-custom-fields-do-not-show-in-views.patch | 543 bytes | evamtinez |
Comments
Comment #2
evamtinezComment #3
facine commentedI get this error on the status page, so we need to update also the entity definition:
Comment #4
evamtinezFixed patch including hook_update. Thanks @facine.
Comment #6
facine commentedFixed, thanks!
Comment #7
facine commented