updated search to accomodate locations, titles, and categories