From bdb1652360530fb8dd66155fd8bcc2c2d3a6da72 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 20 Apr 2018 10:44:03 -0300 Subject: [PATCH] Bug 18235: Add missing POD to get_facetable_fields Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens --- Koha/SearchEngine/Elasticsearch.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Koha/SearchEngine/Elasticsearch.pm b/Koha/SearchEngine/Elasticsearch.pm index 9c9947a45a..7c5e9f022e 100644 --- a/Koha/SearchEngine/Elasticsearch.pm +++ b/Koha/SearchEngine/Elasticsearch.pm @@ -972,6 +972,14 @@ sub _read_configuration { return $configuration; } +=head2 + +my @facetable_fields = Koha::SearchEngine::Elasticsearch->get_facetable_fields(); + +Returns the list of Koha::SearchFields marked to be faceted in the ES configuration + +=cut + sub get_facetable_fields { my ($self) = @_; -- 2.39.5