37ea74669c
* admin/searchengine/elasticsearch/mappings.yaml: * Fix indentation so QA tools believe it's valid YAML * C4::AuthoritiesMarc: Remove tab character * C4::Search: Fix POD * Koha::BiblioUtils: remove "return undef" * Koha::Schema::Result::Search*: rename type to _type * Koha::SE::ES::Search: * Fix spelling/@_[0] * Add my to loop variable * Remove unused var $error * Add use Modern::Perl * Fix undefined variables * Koha::ES::Indexer: fix POD * Koha::SE::ES::QueryBuilder: * Don't define variables in conditionals * Fix POD * Koha::SE::Zebra::Search: * Fix debug warns/POD/barewords * Koha::SE::Zebra::Search: add use Modern::Perl * kohastructure.sql: remove old, unused elasticsearch_mappings table, add new tables * labels/label-item-search.pl: remove C4::Dates * opac/elasticsearch.pl: remove old file Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
50 lines
1 KiB
Perl
50 lines
1 KiB
Perl
package Koha::SearchFields;
|
|
|
|
# This file is part of Koha.
|
|
#
|
|
# Koha is free software; you can redistribute it and/or modify it under the
|
|
# terms of the GNU General Public License as published by the Free Software
|
|
# Foundation; either version 3 of the License, or (at your option) any later
|
|
# version.
|
|
#
|
|
# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License along
|
|
# with Koha; if not, write to the Free Software Foundation, Inc.,
|
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
use Modern::Perl;
|
|
|
|
use Carp;
|
|
|
|
use Koha::Database;
|
|
|
|
use Koha::SearchField;
|
|
|
|
use base qw(Koha::Objects);
|
|
|
|
=head1 NAME
|
|
|
|
Koha::SearchFields - Koha SearchField Object set class
|
|
|
|
=head1 API
|
|
|
|
=head2 Class Methods
|
|
|
|
=cut
|
|
|
|
=head3 type
|
|
|
|
=cut
|
|
|
|
sub _type {
|
|
return 'SearchField';
|
|
}
|
|
|
|
sub object_class {
|
|
return 'Koha::SearchField';
|
|
}
|
|
|
|
1;
|