This is the same issue as #1810148: Grouped exposed taxonomy term filters do not work because the group key is added to the query and not the taxonomy ID but I'm opening a new issue as views is now in core. If this is incorrect please close.

Issue is: When an exposed filter of type taxonomy terms is 'grouped', the resulting query does not correctly include the term ids with 'IN'.

Comments

tanc’s picture

StatusFileSize
new1.28 KB

I've created a patch which fixes the issue but views in D8 is slightly different so I'm not sure if I've done it correctly. Specifically I'm not sure whether setting $this->value to $this->group_info is the right thing to do or whether to array_pop or something to get the correct list of tids.

tanc’s picture

Status: Active » Needs review
StatusFileSize
new1.28 KB

Setting to needs review and re-attaching patch so test bot works (hopefully).

star-szr’s picture

Issue summary: View changes
Status: Needs review » Closed (duplicate)