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

index b569ffd..f5a7479 100644 (file)
@@ -2054,7 +2054,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;