From f881b9573f95ef4cd6b3368ee0feba9a4620482f Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 21 Apr 2014 06:55:45 -0400 Subject: [PATCH] Bug 11703 [QA Followup] - Change output_pref_due to output_pref --- svc/checkouts.pl | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/svc/checkouts.pl b/svc/checkouts.pl index ab59fb4..ed4d0ff 100755 --- a/svc/checkouts.pl +++ b/svc/checkouts.pl @@ -103,7 +103,7 @@ $sql .= " ORDER BY $sorting_column $sorting_direction "; my $dbh = C4::Context->dbh(); my $sth = $dbh->prepare($sql); -$sth->execute( @parameters ); +$sth->execute(@parameters); my $item_level_itypes = C4::Context->preference('item-level_itypes'); @@ -142,8 +142,12 @@ while ( my $c = $sth->fetchrow_hashref() ) { renewals_remaining => $renewals_remaining, issuedate_formatted => output_pref( dt_from_string( $c->{issuedate} ) ), - date_due_formatted => - output_pref_due( dt_from_string( $c->{date_due} ) ), + date_due_formatted => output_pref( + { + dt => dt_from_string( $c->{date_due} ), + as_due_date => 1 + } + ), subtitle => GetRecordValue( 'subtitle', GetMarcBiblio( $c->{biblionumber} ), -- 1.7.2.5