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
Branches
Tags
No related merge requests found
......@@ -113,7 +113,11 @@ class NoILS extends AbstractBase implements TranslatorAwareInterface
{
// Add idPrefix condition
$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