Bug 9819 [QA Followup] - Removed missed stopwords refs, remove Schema file
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 30 Dec 2015 15:54:56 +0000 (15:54 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 30 Dec 2015 15:54:56 +0000 (15:54 +0000)
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Search.pm
Koha/Schema/Result/Stopword.pm [deleted file]
acqui/neworderbiblio.pl

index a2df857..e217f60 100644 (file)
@@ -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
diff --git a/Koha/Schema/Result/Stopword.pm b/Koha/Schema/Result/Stopword.pm
deleted file mode 100644 (file)
index 2fd88b6..0000000
+++ /dev/null
@@ -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<stopwords>
-
-=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;
index 26d868b..4269fe6 100755 (executable)
@@ -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 );