Skip to content
Snippets Groups Projects
Commit 0be25050 authored by Demian Katz's avatar Demian Katz
Browse files

Fixed problem with bad holding display.

parent d757c260
No related merge requests found
...@@ -15,7 +15,8 @@ ...@@ -15,7 +15,8 @@
// the last location encountered. // the last location encountered.
$callno = $location = $backupLocation = false; $callno = $location = $backupLocation = false;
$useBackupLocation = true; $useBackupLocation = true;
foreach ($holdings as $location => $details) { foreach ($holdings as $details) {
$location = $details['location'];
foreach ($details['items'] as $item) { foreach ($details['items'] as $item) {
$callno = isset($item['callnumber']) ? $item['callnumber'] : false; $callno = isset($item['callnumber']) ? $item['callnumber'] : false;
if ($item['availability']) { if ($item['availability']) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment