From d424b330cb47a115a99694d463de5669119a4e1a Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Mon, 17 Dec 2007 19:22:43 -0600 Subject: [PATCH] adding limit without availability Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- catalogue/search.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/catalogue/search.pl b/catalogue/search.pl index 83fe35bf54..46f7887f51 100755 --- a/catalogue/search.pl +++ b/catalogue/search.pl @@ -511,6 +511,9 @@ for (my $i=0;$i<=@servers;$i++) { $total = $total + $results_hashref->{$server}->{"hits"}; if ($hits) { $template->param(total => $hits); + my $limit_cgi_not_availablity = $limit_cgi; + $limit_cgi_not_availablity =~ s/&limit=available//g; + $template->param(limit_cgi_not_availablity => $limit_cgi_not_availablity); $template->param(limit_cgi => $limit_cgi); $template->param(query_cgi => $query_cgi); $template->param(query_desc => $query_desc); -- 2.39.5