Branchify patch from LP bug #809478 and forward port to rel 2.1. collab/dyrcona/lp809478_2_1
authorRobert Soulliere <robert.soulliere@mohawkcollege.ca>
Tue, 9 Aug 2011 19:15:08 +0000 (15:15 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Tue, 9 Aug 2011 20:15:32 +0000 (16:15 -0400)
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm

index 7cd8125..4b64e27 100644 (file)
@@ -1996,7 +1996,7 @@ sub booking_adjusted_due_date {
         my $booking_ses = OpenSRF::AppSession->create( 'open-ils.booking' );
         my $bookings = $booking_ses->request(
             'open-ils.booking.reservations.filtered_id_list', $self->editor->authtoken,
-            { resource => $booking_item->id, search_start => 'now', search_end => $circ->due_date, fields => { cancel_time => undef }}
+            { resource => $booking_item->id, search_start => 'now', search_end => $circ->due_date, fields => { cancel_time => undef, return_time => undef}}
         )->gather(1);
         $booking_ses->disconnect;