Skip to content

Commit

Permalink
fix: remove synonyms from root level tags #6763 (#6769)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanegigandet authored May 16, 2022
1 parent f2f15db commit d56b3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ProductOpener/Tags.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,7 @@ sub build_tags_taxonomy($$$) {
if (defined $direct_parents{$tagtype}{$tagid}) {
@queue = sort keys %{$direct_parents{$tagtype}{$tagid}};
}
else {
elsif (not defined $just_synonyms{$tagtype}{$tagid}) {
# Keep track of entries that are at the root level
$root_entries{$tagtype}{$tagid} = 1;
}
Expand Down

0 comments on commit d56b3d6

Please sign in to comment.