Bug 23627: Reduce Koha::Biblio->get_coins noise if no 245
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 8766689d34)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
9fe6c016ab
commit
0dab9b927e
|
|
@ -579,7 +579,7 @@ sub get_coins {
|
|||
push @authors, $au;
|
||||
}
|
||||
}
|
||||
$title = $record->subfield( '245', 'a' ) . $record->subfield( '245', 'b' );
|
||||
$title = $record->subfield( '245', 'a' ) . ( $record->subfield( '245', 'b' ) // '');
|
||||
if ($titletype eq 'a') {
|
||||
$pubyear = $record->field('008') || '';
|
||||
$pubyear = substr($pubyear->data(), 7, 4) if $pubyear;
|
||||
|
|
|
|||
Loading…
Reference in New Issue