Skip to content
Snippets Groups Projects
Commit 43d3f85f authored by Bart Moelans's avatar Bart Moelans Committed by Demian Katz
Browse files

Bugfix in getRealTimeTitleHold() SolrMarc.php

- "part" needs to be part of $bibliolevel and not vice versa
parent 80c32bf4
Branches
Tags
No related merge requests found
......@@ -1055,7 +1055,7 @@ class SolrMarc extends SolrDefault
{
if ($this->hasILS()) {
$biblioLevel = strtolower($this->getBibliographicLevel());
if ("monograph" == $biblioLevel || strstr("part", $biblioLevel)) {
if ("monograph" == $biblioLevel || strstr($biblioLevel, "part")) {
if ($this->ils->getTitleHoldsMode() != "disabled") {
return $this->titleHoldLogic->getHold($this->getUniqueID());
}
......
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