From 068ffa861c08b5e89cdc2ab00d95915f41a52912 Mon Sep 17 00:00:00 2001 From: Jesse Weaver Date: Mon, 25 Aug 2008 11:51:25 -0500 Subject: [PATCH] fix number two for bug 1204: Lists of issues and overdues on opac-user.pl This makes opac-user.pl sort the output from GetPendingIssues itself, by descend ing due date. Signed-off-by: Galen Charlton Signed-off-by: Chris Cormack --- opac/opac-user.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-user.pl b/opac/opac-user.pl index 5b997c7b64..19a63be7f1 100755 --- a/opac/opac-user.pl +++ b/opac/opac-user.pl @@ -89,7 +89,7 @@ $template->param( BORROWER_INFO => \@bordat, ); #get issued items .... -my ($issues) = GetPendingIssues($borrowernumber); +my ($countissues,$issues) = GetPendingIssues($borrowernumber); my @issue_list = sort { $b->{'date_due'} cmp $a->{'date_due'} } @$issues; my $count = 0; -- 2.39.5