LP#1673870: indicate suspended holds for OverDrive
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Wed, 12 Jul 2017 19:35:43 +0000 (12:35 -0700)
committerBill Erickson <berickxx@gmail.com>
Fri, 1 Sep 2017 20:06:50 +0000 (16:06 -0400)
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/EbookAPI/OverDrive.pm

index b6997d1..6eca31e 100644 (file)
@@ -710,6 +710,7 @@ sub get_patron_holds {
                 queue_size => $hold->{numberOfHolds},
                 # TODO: special handling for ready-to-checkout holds
                 is_ready => ( $hold->{actions}->{checkout} ) ? 1 : 0,
+                is_frozen => ( $hold->{holdSuspension} ) ? 1 : 0,
                 create_date => $hold->{holdPlacedDate},
                 expire_date => ( $hold->{holdExpires} ) ? $hold->{holdExpires} : '-',
                 title => $title_info->{title},