Bug 25030: (QA follow-up) Add POD

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 7ad06f21cf)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Nick Clemens 2021-10-18 11:09:00 +00:00 committed by Fridolin Somers
parent 58df78e855
commit 412f25f0ec
1 changed files with 9 additions and 0 deletions

View File

@ -77,6 +77,15 @@ sub _processrecord {
return $record;
}
=head2 fields
my @fields = $filter->fields($record);
Retrieve the fields that would be embedded if the record were processed by the filter.
Used during Elasticsearch indexing to give special treatment to these field (i.e. don't
include in facets, sorting, or suggestion fields)
=cut
sub fields {
my ($self, $record) = @_;