Loading CHANGELOG.txt +1 −0 Original line number Diff line number Diff line Search API 1.x, dev (xxxx-xx-xx): --------------------------------- - #3394189 by drunken monkey: Dropped support for Drupal 9. - #3321677 by drunken monkey, david.muffley: Fixed out-of-memory errors during indexing. - #3397017 by drunken monkey, gaddman: Fixed MySQL error in edge cases when Loading modules/search_api_db/search_api_db.info.yml +1 −1 Original line number Diff line number Diff line Loading @@ -2,6 +2,6 @@ type: module name: Database Search description: Offers an implementation of the Search API that uses database tables for indexing content. package: Search core_version_requirement: ^9.2 || ^10.0 core_version_requirement: ^10.0 dependencies: - search_api:search_api modules/search_api_db/search_api_db.install +1 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,7 @@ function search_api_db_update_8102() { try { $schema->addPrimaryKey($table, ['item_id']); } catch (SchemaObjectExistsException $e) { catch (SchemaObjectExistsException) { // Primary key was already added, maybe by a conscientious site admin. // Nothing to do here in that case. } Loading modules/search_api_db/search_api_db_defaults/search_api_db_defaults.info.yml +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ type: module name: Database Search Defaults description: Enable this module for a best-practice default setup of Search API with the Database backend. After installation it is recommended to uninstall this module again for performance reasons. The provided configuration will not be removed. package: Search core_version_requirement: ^9.2 || ^10.0 core_version_requirement: ^10.0 dependencies: - drupal:comment - drupal:field Loading modules/search_api_db/src/DatabaseCompatibility/MySql.php +1 −1 Original line number Diff line number Diff line Loading @@ -79,7 +79,7 @@ class MySql extends GenericDatabase implements LocationAwareDatabaseInterface { * {@inheritdoc} */ public function convertValue($value, string $original_type) { if (!$value || !is_string($value) || strpos($value, ',') === FALSE) { if (!$value || !is_string($value) || !str_contains($value, ',')) { return NULL; } [$lat, $lon] = explode(',', $value); Loading Loading
CHANGELOG.txt +1 −0 Original line number Diff line number Diff line Search API 1.x, dev (xxxx-xx-xx): --------------------------------- - #3394189 by drunken monkey: Dropped support for Drupal 9. - #3321677 by drunken monkey, david.muffley: Fixed out-of-memory errors during indexing. - #3397017 by drunken monkey, gaddman: Fixed MySQL error in edge cases when Loading
modules/search_api_db/search_api_db.info.yml +1 −1 Original line number Diff line number Diff line Loading @@ -2,6 +2,6 @@ type: module name: Database Search description: Offers an implementation of the Search API that uses database tables for indexing content. package: Search core_version_requirement: ^9.2 || ^10.0 core_version_requirement: ^10.0 dependencies: - search_api:search_api
modules/search_api_db/search_api_db.install +1 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,7 @@ function search_api_db_update_8102() { try { $schema->addPrimaryKey($table, ['item_id']); } catch (SchemaObjectExistsException $e) { catch (SchemaObjectExistsException) { // Primary key was already added, maybe by a conscientious site admin. // Nothing to do here in that case. } Loading
modules/search_api_db/search_api_db_defaults/search_api_db_defaults.info.yml +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ type: module name: Database Search Defaults description: Enable this module for a best-practice default setup of Search API with the Database backend. After installation it is recommended to uninstall this module again for performance reasons. The provided configuration will not be removed. package: Search core_version_requirement: ^9.2 || ^10.0 core_version_requirement: ^10.0 dependencies: - drupal:comment - drupal:field Loading
modules/search_api_db/src/DatabaseCompatibility/MySql.php +1 −1 Original line number Diff line number Diff line Loading @@ -79,7 +79,7 @@ class MySql extends GenericDatabase implements LocationAwareDatabaseInterface { * {@inheritdoc} */ public function convertValue($value, string $original_type) { if (!$value || !is_string($value) || strpos($value, ',') === FALSE) { if (!$value || !is_string($value) || !str_contains($value, ',')) { return NULL; } [$lat, $lon] = explode(',', $value); Loading