Loading CHANGELOG.txt +2 −0 Original line number Diff line number Diff line Search API 1.x, dev (xxxx-xx-xx): --------------------------------- - #3243313 by Steven Jones, drunken monkey: Removed the "search_api_base_path" query option for views. - #3179643 by drunken monkey: Fixed Views field extraction bevahior when fields returned from server don't have values. - #3253986 by drunken monkey, gaddman: Fixed empty "ignore characters" setting Loading src/Plugin/views/query/SearchApiQuery.php +0 −7 Original line number Diff line number Diff line Loading @@ -12,7 +12,6 @@ use Drupal\Core\Entity\Plugin\DataType\EntityAdapter; use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Messenger\MessengerInterface; use Drupal\Core\Url; use Drupal\search_api\Entity\Index; use Drupal\search_api\LoggerTrait; use Drupal\search_api\ParseMode\ParseModeInterface; Loading Loading @@ -542,12 +541,6 @@ class SearchApiQuery extends QueryPluginBase { $this->query->setOption('search_api_bypass_access', TRUE); } // If the View and the Panel conspire to provide an overridden path then // pass that through as the base path. if (($path = $this->view->getPath()) && strpos(Url::fromRoute('<current>')->toString(), $path) !== 0) { $this->query->setOption('search_api_base_path', $path); } // Add the query tags. if (!empty($this->options['query_tags'])) { foreach ($this->options['query_tags'] as $tag) { Loading Loading
CHANGELOG.txt +2 −0 Original line number Diff line number Diff line Search API 1.x, dev (xxxx-xx-xx): --------------------------------- - #3243313 by Steven Jones, drunken monkey: Removed the "search_api_base_path" query option for views. - #3179643 by drunken monkey: Fixed Views field extraction bevahior when fields returned from server don't have values. - #3253986 by drunken monkey, gaddman: Fixed empty "ignore characters" setting Loading
src/Plugin/views/query/SearchApiQuery.php +0 −7 Original line number Diff line number Diff line Loading @@ -12,7 +12,6 @@ use Drupal\Core\Entity\Plugin\DataType\EntityAdapter; use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Messenger\MessengerInterface; use Drupal\Core\Url; use Drupal\search_api\Entity\Index; use Drupal\search_api\LoggerTrait; use Drupal\search_api\ParseMode\ParseModeInterface; Loading Loading @@ -542,12 +541,6 @@ class SearchApiQuery extends QueryPluginBase { $this->query->setOption('search_api_bypass_access', TRUE); } // If the View and the Panel conspire to provide an overridden path then // pass that through as the base path. if (($path = $this->view->getPath()) && strpos(Url::fromRoute('<current>')->toString(), $path) !== 0) { $this->query->setOption('search_api_base_path', $path); } // Add the query tags. if (!empty($this->options['query_tags'])) { foreach ($this->options['query_tags'] as $tag) { Loading