diff --git a/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApi.php b/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApi.php index f10b02fd8..c824a81af 100644 --- a/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApi.php +++ b/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApi.php @@ -72,7 +72,7 @@ protected function resolve( ?string $search, FieldContext $cacheContext, ): ?SearchApiResponse { - $query = $this->getQuery( + $query = $this->buildBaseQuery( $limit, $offset, $index, diff --git a/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php b/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php index eefa5b722..89e74207c 100644 --- a/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php +++ b/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php @@ -98,7 +98,7 @@ public function __construct( * * @throws \Drupal\search_api\SearchApiException */ - protected function getQuery( + protected function buildBaseQuery( int $limit, int $offset, string $index,