We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afbd23c commit 8e7f8acCopy full SHA for 8e7f8ac
src/Service/AlgoliaIndexer.php
@@ -401,15 +401,21 @@ public function getObject($item)
401
{
402
$indexes = $this->getService()->initIndexes($item);
403
404
+ if (!$item->AlgoliaUUID) {
405
+ return [];
406
+ }
407
+
408
foreach ($indexes as $index) {
409
try {
- $output = $index->getObject($item);
410
+ $output = $index->getObject($item->AlgoliaUUID);
411
412
if ($output) {
413
return $output;
414
}
415
} catch (NotFoundException $ex) {
416
417
418
419
420
421
0 commit comments