Skip to content

Commit

Permalink
Merge pull request #19 from chrometoasters/pulls/18-internal-only-fla…
Browse files Browse the repository at this point in the history
…g-fix

Fix filtering based on InternalOnly flag for displayable tags
  • Loading branch information
normann authored Mar 16, 2020
2 parents cc1d188 + eeb6214 commit 233b3c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extensions/DataObjectTaxonomiesDataExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,6 @@ public function getTagNamesWithExtraInfo(string $delimiter = ' '): DBHTMLText
*/
public function getDisplayableTags()
{
return $this->getOwner()->Tags()->filter('InternalOnly', false);
return $this->getOwner()->Tags()->filter(['Type.InternalOnly' => false]);
}
}

0 comments on commit 233b3c1

Please sign in to comment.