From 7d440c782f262f73c7053f802884b1bdb2bc6ef8 Mon Sep 17 00:00:00 2001 From: finlayt Date: Fri, 9 Aug 2002 04:14:56 +0000 Subject: [PATCH] changed the previous issues to be listed in order of due date --- circ/circulation.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index d24c961919..f410476913 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -403,7 +403,7 @@ if ($borrower) { $book->{'dewey'} $book->{'subclass'} EOF } - foreach my $book (sort {$b->{'timestamp'} <=> $a->{'timestamp'}} @previousissues){ + foreach my $book (sort {$a->{'due_date'} <=> $b->{'due_date'}} @previousissues){ my $dd = $book->{'date_due'}; my $datedue = $book->{'date_due'}; #convert to nz style dates -- 2.39.5