def METHOD_NAME(self, tab_index):
    search_type = self.tabs[tab_index][1]
    self._app.browser.local_storage[KeyType] = search_type.value
    query = {'q': self.q, 'type': search_type.value}
    source_in = self._app.browser.local_storage.get(KeySourceIn, None)
    if source_in is not None:
        query['source_in'] = source_in
    self._app.browser.goto(page='/search', query=query)