filtering based on search object