View | Details | Raw Unified | Return to bug 15217
Collapse All | Expand All

(-)a/catalogue/search.pl (-5 lines)
Lines 162-168 my $DisplayMultiPlaceHold = C4::Context->preference("DisplayMultiPlaceHold"); Link Here
162
use CGI qw('-no_undef_params' -utf8 );
162
use CGI qw('-no_undef_params' -utf8 );
163
my $cgi = new CGI;
163
my $cgi = new CGI;
164
164
165
my ($template,$borrowernumber,$cookie);
166
# decide which template to use
165
# decide which template to use
167
my $template_name;
166
my $template_name;
168
my $template_type;
167
my $template_type;
Lines 484-491 my $expanded_facet = $params->{'expand'}; Link Here
484
# Define some global variables
483
# Define some global variables
485
my ( $error,$query,$simple_query,$query_cgi,$query_desc,$limit,$limit_cgi,$limit_desc,$stopwords_removed,$query_type);
484
my ( $error,$query,$simple_query,$query_cgi,$query_desc,$limit,$limit_cgi,$limit_desc,$stopwords_removed,$query_type);
486
485
487
my @results;
488
489
## I. BUILD THE QUERY
486
## I. BUILD THE QUERY
490
( $error,$query,$simple_query,$query_cgi,$query_desc,$limit,$limit_cgi,$limit_desc,$stopwords_removed,$query_type) = buildQuery(\@operators,\@operands,\@indexes,\@limits,\@sort_by,$scan,$lang);
487
( $error,$query,$simple_query,$query_cgi,$query_desc,$limit,$limit_cgi,$limit_desc,$stopwords_removed,$query_type) = buildQuery(\@operators,\@operands,\@indexes,\@limits,\@sort_by,$scan,$lang);
491
488
Lines 526-532 $template->param ( LIMIT_INPUTS => \@limit_inputs ); Link Here
526
## II. DO THE SEARCH AND GET THE RESULTS
523
## II. DO THE SEARCH AND GET THE RESULTS
527
my $total; # the total results for the whole set
524
my $total; # the total results for the whole set
528
my $facets; # this object stores the faceted results that display on the left-hand of the results page
525
my $facets; # this object stores the faceted results that display on the left-hand of the results page
529
my @results_array;
530
my $results_hashref;
526
my $results_hashref;
531
527
532
eval {
528
eval {
533
- 

Return to bug 15217