bug 3164: fix OPAC holds in SingleBranchMode
Account for case where no branch is explicitly supplied. Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
parent
1b0780bb8d
commit
b2b74a22ed
|
|
@ -158,7 +158,8 @@ if ( $query->param('place_reserve') ) {
|
|||
$selectedItems = "$bib/$item/$branch/";
|
||||
}
|
||||
|
||||
my @selectedItems = split /\//, $selectedItems;
|
||||
$selectedItems =~ s!/$!!;
|
||||
my @selectedItems = split /\//, $selectedItems, -1;
|
||||
|
||||
# Make sure there is a biblionum/itemnum/branch triplet for each item.
|
||||
# The itemnum can be 'any', meaning next available.
|
||||
|
|
|
|||
Loading…
Reference in New Issue