From ec2f641b73750ea1f0a42b4b53469404b1e9c23c Mon Sep 17 00:00:00 2001
From: Gregor Gawol <gawol@ub.uni-leipzig.de>
Date: Thu, 15 Apr 2021 15:12:51 +0200
Subject: [PATCH] refs #19523 [finc] display barcode in print view * bugfixing
 method reading config

---
 module/finc/src/finc/RecordDriver/SolrMarcFincTrait.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/finc/src/finc/RecordDriver/SolrMarcFincTrait.php b/module/finc/src/finc/RecordDriver/SolrMarcFincTrait.php
index 645eaaedcb5..c6f054f10d1 100644
--- a/module/finc/src/finc/RecordDriver/SolrMarcFincTrait.php
+++ b/module/finc/src/finc/RecordDriver/SolrMarcFincTrait.php
@@ -1946,7 +1946,7 @@ trait SolrMarcFincTrait
         $barcodes = [];
 
         //$driver = ConnectionManager::connectToCatalog();
-        $libraryCodes = $this->mainConfig->CustomIndex->LibraryGroup;
+        $libraryCodes = $this->mainConfig->LibraryGroup;
 
         // get barcodes from marc
         $barcodes = $this->getFieldArray('983', ['a']);
-- 
GitLab