code: def search(self):
          
          brains = []
          # TODO Legacy
          for name, adapter in getAdapters((self.context, self.request),
                                           IReferenceWidgetVocabulary):
              brains.extend(adapter())
          return brains
docs: Returns the list of brains that match with the request criteria