diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index e73f2f44ea..f6b2d58a94 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -15,6 +15,8 @@ use HTML::Template; my $MAXIMUM_NUMBER_OF_RESERVES = 5; +my $MAXIMUM_NUMBER_OF_RESERVES = 10; + my $query = new CGI; my ($template, $borrowernumber, $cookie) = get_template_and_user({template_name => "opac-reserve.tmpl", @@ -224,7 +226,7 @@ if ($query->param('item_types_selected')) { } # check that you can actually make the reserve. -$template->param(BIBLIOITEMS => \@data); +# $template->param(BIBLIOITEMS => \@data); output_html_with_http_headers $query, $cookie, $template->output; diff --git a/opac/opac-searchresults.pl b/opac/opac-searchresults.pl index b30c718900..6c4d80cd6f 100755 --- a/opac/opac-searchresults.pl +++ b/opac/opac-searchresults.pl @@ -69,7 +69,7 @@ my $startfrom = $query->param('startfrom'); my $subjectitems=$query->param('subjectitems'); if ($subjectitems) { #@results = subsearch($env,$subjectitems, $number_of_results, $startfrom); - @results = subsearch($enc, $subjectitems); + @results = subsearch($env, $subjectitems); $count = $#results+1; } else { ($count, @results) = catalogsearch($env,'',\%search,$number_of_results,$startfrom);