Skip to content
Snippets Groups Projects
Commit a7788085 authored by Robert Lange's avatar Robert Lange Committed by Dorian Merz
Browse files

refs #15271 [master] refactor multipart_set check

* add method 'isMultiPart' in SolrDefaultFincTrait to encapsulate check for top leve
parent a950a110
No related merge requests found
......@@ -460,6 +460,18 @@ trait SolrDefaultFincTrait
return isset($this->fields['collection']) ? $this->fields['collection'] : [];
}
/**
* refs #15271
* Check for Multipart resource record level 'set' MARC21 LEADER Pos 19
*
* @return boolean True if record has multiple parts, otherwise False
* @access public
*/
public function isMultiPartSet()
{
return $this->getMultiPart() == 'a' ? true : false;
}
/**
* Get the content of field multipart_set.
*
......
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