change from 'name' to 'vendor' query