Skip to content
Snippets Groups Projects
Commit b0c079d1 authored by Frank Morgner's avatar Frank Morgner Committed by André Lahmann
Browse files

refs #5428 bugfixing replacing method getILSIdentifier from...

refs #5428 bugfixing replacing method  getILSIdentifier from SolrMarcRemoteFinc.php to SolrDefault.php
parent ec6a4e2f
Branches
Tags
No related merge requests found
......@@ -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() {
......
......@@ -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()
{
......
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