Closed (fixed)
Project:
Entity Reference Exposed Filters
Version:
8.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2017 at 22:19 UTC
Updated:
10 May 2018 at 14:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
coufu commentedI fixed it. Before, it would only work with users, nodes, and taxonomies. Now it also works with content references within paragraph revisions.
I refactored the code to work more universally. Instead of a "switch" to work on a limited set of entity types, it uses an explode("__", ...) to pull the left side of the __ to see what kind of entity it is. I think this refactoring will help in the long run, but please correct me if I'm wrong. It definitely works for my purposes.
Enjoy!
Comment #3
coufu commentedChanging status to Needs review. I chose the wrong status in my last comment.
Comment #6
el1_1el commentedThanks Coufu. This works very nicely. I'm committing to dev
Comment #7
el1_1el commented