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');

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, privacy policy and cookie policy

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