Skip to content

Commit

Permalink
T&A, 41532: fix filtering for 'no taxonomy'
Browse files Browse the repository at this point in the history
  • Loading branch information
nhaagen authored and thojou committed Jul 15, 2024
1 parent 1056b1f commit 4a71c22
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1915,10 +1915,10 @@ protected function getTable(): string

switch ($item) {
case 'taxonomies':
if($value === 'null') {
$table->addTaxonomyFilterNoTaxonomySet(true);
} else {
foreach($value as $tax_value) {
foreach($value as $tax_value) {
if($tax_value === 'null') {
$table->addTaxonomyFilterNoTaxonomySet(true);
} else {
$tax_nodes = explode('-', $tax_value);
$tax_id = array_shift($tax_nodes);
$table->addTaxonomyFilter(
Expand Down

0 comments on commit 4a71c22

Please sign in to comment.