Closed Sindoweb closed 3 months ago
Also in reference #[#279]
Mmmm, strange, I'm not inclined to merge this, as it would have a performance implication. A query would always be performed with the new code. Using the old code, the query would only be performed once.
I understand - but the old code also fails.
I'm going to put a screenshot here just incase someone can make a better fix.
@Sindoweb check if you are casting "tags" as array in your model (or have a tag function/property in your model that conflicts with the package)! cc @freekmurze
This change fixed an issue I encountered when returning tags with a type. $this->tags was Null. Fetching the tags (instead of relying on the variable) and filtering them resolved the (read: my) issue.