From e0e257b25d47cfb853eff90b48e94e299bf17a5d Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 29 Nov 2021 10:42:02 -0300 Subject: [PATCH] Bug 23991: Add Koha::Suggestions->search_limited POD Signed-off-by: Tomas Cohen Arazi --- Koha/Suggestions.pm | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Koha/Suggestions.pm b/Koha/Suggestions.pm index 5d24dfebea..19fcbc7ae6 100644 --- a/Koha/Suggestions.pm +++ b/Koha/Suggestions.pm @@ -32,6 +32,14 @@ Koha::Suggestions - Koha Suggestion object set class =head1 API +=head2 Class methods + +=head3 search_limited + + my $suggestions = Koha::Suggestions->search_limited( $params, $attributes ); + +Returns all the suggestions the logged in user is allowed to see. + =cut sub search_limited { @@ -53,11 +61,9 @@ sub search_limited { return $self->search($params, $attributes); } -=head2 Class Methods - -=cut +=head2 Internal methods -=head3 type +=head3 _type =cut -- 2.32.0