Hi everyone,
It’s possible use twice the method filterby? An example:
$page->children()->filterBy('template', 'article')->filterBy('tags', 'x');
Thank you
Hi everyone,
It’s possible use twice the method filterby? An example:
$page->children()->filterBy('template', 'article')->filterBy('tags', 'x');
Thank you
Yes, that’s possible. See. examples. in the Filtering Compendium
Note that this filters first by template, then by tags.
I realized xD, sorry