Closed (fixed)
Project:
Entity reference
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Aug 2011 at 12:50 UTC
Updated:
13 Sep 2012 at 23:58 UTC
Jump to comment: Most recent file
Comments
Comment #1
bojanz commentedViews having a handler for this makes life so much easier.
Feel free to suggest better help text (see attached screenshot for how it looks now).
Perhaps the first one should be "A bridge to the User entity that is referenced from Content via field_user".
Comment #2
damien tournoud commentedThanks for the patch!
In my testing, it seems to work as advertized. Committed.
Comment #3
bojanz commentedI think you didn't push the commit.
Comment #4
hazaIt's there
http://drupalcode.org/project/entityreference.git/commit/b1fb270be011e03...
Thanks for the patch !
Comment #6
larjohn commentedI have no idea how to use this functionality in Views. Could you please explain?
I have two content types, let's say
A{name, surname, reftoB}
and
B{title, height}
can I have a View that lists all A's instances that theri refB instance has a height>50?
EDIT: I just sat down and learnt to use Relationships...
Comment #7
simeI love this module
Comment #8
nkurothe commentedGetting a warning after applying the patch and using it in one of the views
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of C:\xampp\htdocs\drupal7\includes\entity.inc).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (line 354 of C:\xampp\htdocs\drupal7\includes\entity.inc).
Edit
Got it fixed by disabling some of the unused modules like Relations