From df63fe79e0e4cff1dac624e53b21c661c84fd41c Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 18 Oct 2021 11:09:00 +0000 Subject: [PATCH] Bug 25030: (QA follow-up) Add POD Signed-off-by: Jonathan Druart --- Koha/Filter/MARC/EmbedSeeFromHeadings.pm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Koha/Filter/MARC/EmbedSeeFromHeadings.pm b/Koha/Filter/MARC/EmbedSeeFromHeadings.pm index 6ff96b8b35..9973db90de 100644 --- a/Koha/Filter/MARC/EmbedSeeFromHeadings.pm +++ b/Koha/Filter/MARC/EmbedSeeFromHeadings.pm @@ -76,6 +76,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) = @_; -- 2.39.5