From 412f25f0ec48d832faa57a662f9721d1ea8e71f4 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 Signed-off-by: Kyle M Hall (cherry picked from commit 7ad06f21cfe258acf6980f5084bfd44bdfb945a1) Signed-off-by: Fridolin Somers --- 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 ecdb060a48..c16796c5d4 100644 --- a/Koha/Filter/MARC/EmbedSeeFromHeadings.pm +++ b/Koha/Filter/MARC/EmbedSeeFromHeadings.pm @@ -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) = @_; -- 2.39.5