- πΊπΈUnited States pwolanin
Looks like a good addition - we should have some tests to show it works
If someone wants to filter entities based on UUID entity references on users with current user there is currently only the way on a relation and an user ID match. This brings two unneeded joins to the query.
Create a entity reference UUID field with field API on an existing entity with user entity as target. Create some test entities connected to a user where you have access. At least try to create or modify a view with filter on current user. Without this plugin (see patch and merge request) there is only the workaround to configure a relation to referenced users and filter on this with current User ID. When "Show the SQL query" is activated in views config you can see the used table joins.
Provide an own ViewsArgumentDefault views plugin. (It's very simple. We already have one as proof of concept for a new contrib module but it makes more sense to integrate here.)
- Add views plugin. (C-Logemann)
- Review and discuss.
Add a new default argument on views config.
No.
No.
Needs work
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Looks like a good addition - we should have some tests to show it works