From 9a59b702b018c04a0700aa682d69016ceeeffb9b Mon Sep 17 00:00:00 2001 From: Joe Atzberger Date: Wed, 7 Jan 2009 21:47:36 -0600 Subject: [PATCH] Bug 2900: fix GetPendingIssues. GetPendingIssues did several bad things: ~ select * on a 4 table join, ~ including multiple namespace collisions, ~ including large fields marc and marcxml from biblioitems, ~ return ($count, \@array_being_counted). Not everything is fixed here (see FIXMEs), but the situation is improved considerably, with bug 2900 resolved. The "timestamp" namespace collision in query should be resolved by separate patch. Signed-off-by: Galen Charlton Signed-off-by: Henri-Damien LAURENT --- 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 78ffe781c0..b1bbe5f393 100755 --- a/opac/opac-user.pl +++ b/opac/opac-user.pl @@ -90,7 +90,7 @@ $template->param( BORROWER_INFO => \@bordat, ); #get issued items .... -my ($countissues,$issues) = GetPendingIssues($borrowernumber); +my ($issues) = GetPendingIssues($borrowernumber); my @issue_list = sort { $b->{'date_due'} cmp $a->{'date_due'} } @$issues; my $count = 0; -- 2.39.5