Rephrase comments to be more consistent
This commit is contained in:
parent
440d9bcf69
commit
05e70cdae4
|
@ -1169,7 +1169,7 @@ abstract class Document
|
|||
$metadata['volume'] = $metadata['year'];
|
||||
}
|
||||
if (empty($metadata['volume_sorting'][0])) {
|
||||
// If mets ORDER label is given it is prefered over year_sorting and year.
|
||||
// If METS @ORDER is given it is preferred over year_sorting and year.
|
||||
if (!empty($metadata['mets_order'][0])) {
|
||||
$metadata['volume_sorting'][0] = $metadata['mets_order'][0];
|
||||
} elseif (!empty($metadata['year_sorting'][0])) {
|
||||
|
@ -1178,7 +1178,7 @@ abstract class Document
|
|||
$metadata['volume_sorting'][0] = $metadata['year'][0];
|
||||
}
|
||||
}
|
||||
// If volume_sorting is still empty, try to use title_sorting or mets_orderlabel finally (workaround for newspapers)
|
||||
// If volume_sorting is still empty, try to use title_sorting or METS @ORDERLABEL finally (workaround for newspapers)
|
||||
if (empty($metadata['volume_sorting'][0])) {
|
||||
if (!empty($metadata['title_sorting'][0])) {
|
||||
$metadata['volume_sorting'][0] = $metadata['title_sorting'][0];
|
||||
|
|
Loading…
Reference in New Issue