diff --git a/module/finc/src/finc/RecordDriver/SolrDefault.php b/module/finc/src/finc/RecordDriver/SolrDefault.php index 0a32460781f69ec568585a54e60910358f37f5d1..c59ce94d19046772c339c624b09e216d38f2dfba 100644 --- a/module/finc/src/finc/RecordDriver/SolrDefault.php +++ b/module/finc/src/finc/RecordDriver/SolrDefault.php @@ -289,6 +289,18 @@ class SolrDefault extends \VuFind\RecordDriver\SolrDefault $this->fields['author_corp2'] : []; } + /** + * Get the field-value identified by $string + * + * @param string $string Name of field + * + * @return string + */ + public function getILSIdentifier($string) + { + return (isset($this->fields[$string]) ? $this->fields[$string] : ''); + } + /** * Get an array of all ISMNs associated with the record (may be empty). * @@ -393,7 +405,7 @@ class SolrDefault extends \VuFind\RecordDriver\SolrDefault * Get percentage of relevance of a title. First implementaion for TUBAF. * * @return float Percentage of Score / Maximum Score rounded by 5. - * @link https://intern.finc.info/issues/1908 + * @link https://intern.finc.info/issues/1908 */ public function getRelevance() { diff --git a/module/finc/src/finc/RecordDriver/SolrMarcRemoteFinc.php b/module/finc/src/finc/RecordDriver/SolrMarcRemoteFinc.php index 62a76f69b19e93912b783c653bedcdb09e012a61..bcbf46b588f8653918d700726e3fa195283c8c86 100644 --- a/module/finc/src/finc/RecordDriver/SolrMarcRemoteFinc.php +++ b/module/finc/src/finc/RecordDriver/SolrMarcRemoteFinc.php @@ -322,25 +322,13 @@ class SolrMarcRemoteFinc extends SolrMarcRemote return $this->addFincIDToRecord($array); } - /** - * Get the field-value identified by $string - * - * @param String field-name - * - * @return String - */ - public function getILSIdentifier($string) - { - return (isset($this->fields[$string]) ? $this->fields[$string] : ''); - } - /** * Special method to extracting the index of German prints of the marc21 * field 024 indicator 8 subfield a * * @return array * @access protected - * @link https://intern.finc.info/fincproject/issues/1442 + * @link https://intern.finc.info/fincproject/issues/1442 */ protected function getIndexOfGermanPrints() {