Is it possible to search through multiple ElementTypes?

Instead of this:


Doing something like this:

craft()->elements->getCriteria(ElementType::Entry, ElementType::Asset, ElementType::Category)->limit(10)->search('Test');

1 Answer 1


You'd have to do the in multiple queries at this point.

Consider voting for this feature request, which is asking for what you're looking for.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.