Problem/Motivation

- Core only stores taxonomy_index information for published nodes
- We can use taxonomy_entity_index to get around this, but it's not reflected in the SHS filter
- I see it was added to the d7 version but doesn't exist in the d8+

Steps to reproduce

- Add an unpublished node with a term
- Use the 'Has taxonomy terms (with depth)' filter in a view
- The node will not be shown

Proposed resolution

- Switch the table used if the module exists

Remaining tasks

- Review

User interface changes

NONE

API changes

NONE

Data model changes

NONE

CommentFileSizeAuthor
#3 3561751-3.patch2.18 KBkimberleycgm

Issue fork shs-3561751

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

kimberleycgm created an issue. See original summary.

kimberleycgm’s picture

StatusFileSize
new2.18 KB

Patch file

kimberleycgm’s picture

Status: Active » Needs review
kimberleycgm’s picture

Issue summary: View changes

joseph.olstad made their first commit to this issue’s fork.

joseph.olstad’s picture

Hello kimberlycgm, could you please test my version of the solution in place of yours?

https://git.drupalcode.org/project/shs/-/merge_requests/46.diff

This diff file can be applied like a patch.

kimberleycgm’s picture

That is working well for me!