From 43d3f85ff3e98da51ba797770fed50c417bee14a Mon Sep 17 00:00:00 2001 From: Bart Moelans <bart@moelans.be> Date: Thu, 28 Apr 2016 13:28:45 -0400 Subject: [PATCH] Bugfix in getRealTimeTitleHold() SolrMarc.php - "part" needs to be part of $bibliolevel and not vice versa --- module/VuFind/src/VuFind/RecordDriver/SolrMarc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/VuFind/src/VuFind/RecordDriver/SolrMarc.php b/module/VuFind/src/VuFind/RecordDriver/SolrMarc.php index ae8fbd08280..bc54a57ec40 100644 --- a/module/VuFind/src/VuFind/RecordDriver/SolrMarc.php +++ b/module/VuFind/src/VuFind/RecordDriver/SolrMarc.php @@ -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()); } -- GitLab