how to filter vendors by their status