Extend search toolbar functionality to search custom items

Hello Guys,

I am making a zimlet which query a web service to search objects from a CMS. I've successfully added a new Item type in search toolbar. The functionality works fine if I select that item and do a search. But when I select "All item Types" from the drop down list, then it only search for basic search types and doesn't trigger search function of my custom search type.