Closed (fixed)
Project:
Entity Browser
Version:
8.x-1.x-dev
Component:
Widget plugins
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Jul 2016 at 18:47 UTC
Updated:
3 Aug 2016 at 19:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
samuel.mortensonReplicated the problem, and confirmed the patch fixes it. However, if a View doesn't use a relationship, this doesn't work because the logic checks if
$this->options['relationship']evaluates to TRUE, which it always will since if you don't use relationships$this->options['relationship']equals "none". This patch calls thegetEntity()method instead, which should handle the relationship logic for us.Comment #3
phenaproximaOK, I am absolutely in love with @samuel.mortenson's patch in #2. I didn't even know there was a getEntity() method. I wish I could RTBC that patch. In fact, I want to marry it.
Whole-hearted +1 from me.
Comment #5
slashrsm commentedThis is great. Committed. Thanks!