@@ -, +, @@ remove Schema file --- C4/Search.pm | 1 - Koha/Schema/Result/Stopword.pm | 45 ------------------------------------------ acqui/neworderbiblio.pl | 4 ++-- 3 files changed, 2 insertions(+), 48 deletions(-) delete mode 100644 Koha/Schema/Result/Stopword.pm --- a/C4/Search.pm +++ a/C4/Search.pm @@ -1530,7 +1530,6 @@ sub buildQuery { #top of the results just because they have lots of item records matching that date. #Fuzzy actually only applies during _build_weighted_query, and is reset there anyway, so #irrelevant here - #remove_stopwords doesn't function anymore so is irrelevant $stemming = $auto_truncation = $weight_fields = $fuzzy_enabled = 0; } # ISBN,ISSN,Standard Number, don't need special treatment --- a/Koha/Schema/Result/Stopword.pm +++ a/Koha/Schema/Result/Stopword.pm @@ -1,45 +0,0 @@ -use utf8; -package Koha::Schema::Result::Stopword; - -# Created by DBIx::Class::Schema::Loader -# DO NOT MODIFY THE FIRST PART OF THIS FILE - -=head1 NAME - -Koha::Schema::Result::Stopword - -=cut - -use strict; -use warnings; - -use base 'DBIx::Class::Core'; - -=head1 TABLE: C - -=cut - -__PACKAGE__->table("stopwords"); - -=head1 ACCESSORS - -=head2 word - - data_type: 'varchar' - is_nullable: 1 - size: 255 - -=cut - -__PACKAGE__->add_columns( - "word", - { data_type => "varchar", is_nullable => 1, size => 255 }, -); - - -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8cIdWFpf7DlA61On1F7cVg - - -# You can replace this text with custom content, and it will be preserved on regeneration -1; --- a/acqui/neworderbiblio.pl +++ a/acqui/neworderbiblio.pl @@ -102,8 +102,8 @@ my $builtquery; if ($QParser) { $builtquery = $query; } else { - my ( $builterror,$simple_query,$query_cgi,$query_desc,$limit,$limit_cgi,$limit_desc,$stopwords_removed,$query_type); - ( $builterror,$builtquery,$simple_query,$query_cgi,$query_desc,$limit,$limit_cgi,$limit_desc,$stopwords_removed,$query_type) = buildQuery(undef,\@operands); + my ( $builterror,$simple_query,$query_cgi,$query_desc,$limit,$limit_cgi,$limit_desc,$query_type); + ( $builterror,$builtquery,$simple_query,$query_cgi,$query_desc,$limit,$limit_cgi,$limit_desc,$query_type) = buildQuery(undef,\@operands); } my ( $error, $marcresults, $total_hits ) = SimpleSearch( $builtquery, $results_per_page * ( $page - 1 ), $results_per_page ); --