Closed (fixed)
Project:
Entity Reference Count
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Feb 2016 at 19:54 UTC
Updated:
17 Mar 2016 at 21:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
WorldFallz commentedComment #3
WorldFallz commentedI'm not sure this is an actual limitation as much as the current implementation.
field_info_bundles() is always run on the field instance settings form. We should be able to make that conditional on whether or not the er field type is simple or views based. Or simply ignore it for 'views' based er fields.
Then, 'views' based er fields should behave similarly to how 'simple' er fields with no bundle selected behave (count all references regardless of bundle).
Comment #4
WorldFallz commentedIt definitely seems like the previous issue with "views" based er fields was actually an artifact of one of the other issues that were recently resolved.
I've been testing with "views" based er fields with no problems. I've tested with and without bundles selected and even with the same ER field set to 'base' on one bundle and 'views' on another. All seem fine. Attached is a patch that simply removes this limitation.
Comment #6
WorldFallz commented