CARLI / vufind

A library resource discovery portal designed and developed for libraries by libraries
GNU General Public License v2.0
5 stars 0 forks source link

Add new Credits field to Description Tab #402

Closed gibsonjc closed 5 years ago

gibsonjc commented 5 years ago

Add a new field to the Description tab area in CARLI's RecordDataFormatterFactory.php with a new function in SolrMarc.php similar to many of the other new fields we have recently added.

S11. New suggested function name: getCredits

Field Label: Credits

Field [Indicators] [Subfields] to display: 508 [any indicators] ['a']

Placement of new $spec line: before Performer

/**
 * Get an array of credits information.
 *
 * @return array
 */
public function getCredits()
{
    return $this->getFieldArray('508', ['a']);
}
cedelis commented 5 years ago

In TEST

gibsonjc commented 5 years ago

This looks good, Ready for Prod!

Example: https://i-share-test.carli.illinois.edu/vf-aru/Record/ARUdb.451177#description

cedelis commented 5 years ago

In PROD