Closed (fixed)
Project:
Field Collection Table
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2011 at 17:44 UTC
Updated:
29 Sep 2011 at 11:21 UTC
I'm using hook_entity_view_alter(&$build, $type) to unset a couple of fields in a field collection item. My problem is that when I use 'table field-collection items' formatter the fields that I unset still appear, where as if use 'View field-collection items' formatter they don't appear as expected. What could be wrong?
Comments
Comment #1
tim.plunkettThere are a lot of edge cases like this that need to be addressed. Thanks for the bug report, I will look into this soon.
Comment #2
tim.plunketthttp://drupalcode.org/project/field_collection_table.git/commit/31188cb
Thanks for the bug report. This should fix it. Note I've committed changes in #1257526: Exclude column from table if no items have content as well, so be sure to clear your caches.
If you are removing fields, you'll also be interested in the new checkbox at admin/config/user-interface/field_collection_table.
Comment #3
chalee commentedMy problem fixed with the patch. Thanks