From 2f3a223148d6c96d32e2a2823f6ef7e0b1f8aabc Mon Sep 17 00:00:00 2001 From: rangi Date: Tue, 21 Mar 2006 23:45:43 +0000 Subject: [PATCH] Passing back the right count --- C4/SearchMarc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/SearchMarc.pm b/C4/SearchMarc.pm index 87f4d13ae1..21e4f32850 100644 --- a/C4/SearchMarc.pm +++ b/C4/SearchMarc.pm @@ -372,7 +372,7 @@ sub catalogsearch { $totalitems=0; } my $nbresults = $#finalresult+1; - return (\@finalresult, $nbresults); + return (\@finalresult, $numresults); } =head2 my $marcnotesarray = &getMARCnotes($dbh,$bibid,$marcflavour); -- 2.39.5