Update holdings sort to sort by items.enumchron if there's no serial record and the biblio.serial flag is set.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
e78c7a5584
commit
0411957f73
1 changed files with 1 additions and 1 deletions
|
@ -1261,7 +1261,7 @@ sub GetItemsInfo {
|
|||
}
|
||||
$sth->finish;
|
||||
if($serial) {
|
||||
return( sort { $b->{'publisheddate'} cmp $a->{'publisheddate'} } @results );
|
||||
return( sort { ($b->{'publisheddate'} || $b->{'enumchron'}) cmp ($a->{'publisheddate'} || $a->{'enumchron'}) } @results );
|
||||
} else {
|
||||
return (@results);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue