Skip to content

Commit

Permalink
Fix for bug #13582: Use identifier.untouched to fix matching errors
Browse files Browse the repository at this point in the history
  • Loading branch information
IMAGIZ committed Aug 12, 2024
1 parent 0b481b6 commit 1071bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/model/QubitInformationObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -2171,7 +2171,7 @@ public static function getByTitleIdentifierAndRepo($identifier, $title, $repoNam

// Use match query for exact matches.
$queryText = new \Elastica\Query\Match();
$queryBool->addMust($queryText->setFieldQuery('identifier', $identifier));
$queryBool->addMust($queryText->setFieldQuery('identifier.untouched', $identifier));

$queryText = new \Elastica\Query\Match();
$queryBool->addMust($queryText->setFieldQuery(sprintf('i18n.%s.title.untouched', $currentCulture), $title));
Expand Down

0 comments on commit 1071bb9

Please sign in to comment.