I'm not seeing a way to filter by taxonomy in the D8 version like we could in D7.

Did I miss something, or is this feature not supported in D8?

Issue fork scanner-3294624

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

joekrukosky created an issue. See original summary.

turek’s picture

Component: User interface » Code
Category: Support request » Feature request
Status: Active » Needs review
StatusFileSize
new9.42 KB

You could write your own plugin for that, although patch is creating support for taxonomies inside of this module.

Please note that taxonomies are not revisionable and undoing changes will not revert the changes.

anybody’s picture

Title: Filter by Taxonomy » Add support for taxonomy terms

Thanks @Turek, that looks great! I think a good idea for this module would be to support all core entities out of the box and leave others (e.g. Paragraphs, Commerce products etc.) to contrib.

So I'd absolutely vote for merging this into the module, once RTBC'd! :)

anybody’s picture

I created a MR from #2 for review!
Please mind that taxonomy terms are now also revisionable!

anybody’s picture

Status: Needs review » Needs work

Drupal\Core\Entity\Query\QueryException: Entity queries must explicitly set whether the query should be access checked or not. See Drupal\Core\Entity\Query\QueryInterface::accessCheck()

anybody’s picture

Status: Needs work » Needs review

Fixed that, please review!

smustgrave’s picture

Version: 8.x-1.x-dev » 2.0.x-dev
Status: Needs review » Needs work

Can we update for 2.0.x

Also will probably need some test coverage

damienmckenna’s picture

Issue tags: +Needs tests
damienmckenna’s picture

Title: Add support for taxonomy terms » Support Taxonomy Term entities
Component: Code » Integration with other module
damienmckenna’s picture

This will need a rewrite after the refactoring work is done - stay tuned for beta2.

smustgrave’s picture

smustgrave’s picture

Status: Needs work » Needs review
Issue tags: -Needs tests

Followed the same example I did for Comments.

smustgrave’s picture

Rebased

smustgrave’s picture

Status: Needs review » Fixed

Going to be bad but planning a beta5 and want to include this one.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.