From ee1200b120c5f35dd1ab4ff4e495b1cee143da99 Mon Sep 17 00:00:00 2001
From: Gregor Gawol <gawol@ub.uni-leipzig.de>
Date: Tue, 5 May 2020 15:12:08 +0200
Subject: [PATCH] refs #17408 [master-v5] reactivate resolver sid 48 * added
 missing method in RecordDriver SolrAI

---
 module/finc/src/finc/RecordDriver/SolrAI.php | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/module/finc/src/finc/RecordDriver/SolrAI.php b/module/finc/src/finc/RecordDriver/SolrAI.php
index 4a9ccbb9ed2..4af5fa770e8 100644
--- a/module/finc/src/finc/RecordDriver/SolrAI.php
+++ b/module/finc/src/finc/RecordDriver/SolrAI.php
@@ -266,6 +266,16 @@ class SolrAI extends SolrDefault implements
         return isset($this->fields['issn']) ? $this->fields['issn'] : [];
     }
 
+    /**
+     * Get an array of all ISSNs associated with the record (may be empty).
+     *
+     * @return array of issns
+     */
+    public function getCleanISSN()
+    {
+        return $this->getAIRecord('rft.issn');
+    }
+
     /**
      * Get the eISSN from a record.
      *
-- 
GitLab