The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit 64f25a46 authored by Demian Katz's avatar Demian Katz
Browse files

Missing Solr record should not cause fatal ILS error.

parent d7798df0
No related merge requests found
...@@ -113,7 +113,11 @@ class NoILS extends AbstractBase implements TranslatorAwareInterface ...@@ -113,7 +113,11 @@ class NoILS extends AbstractBase implements TranslatorAwareInterface
{ {
// Add idPrefix condition // Add idPrefix condition
$idPrefix = $this->getIdPrefix(); $idPrefix = $this->getIdPrefix();
return $this->recordLoader->load(strlen($idPrefix) ? $idPrefix . $id : $id); return $this->recordLoader->load(
strlen($idPrefix) ? $idPrefix . $id : $id,
DEFAULT_SEARCH_BACKEND,
true // tolerate missing records
);
} }
/** /**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment