From fac7e305ddb997b2852a81213857675ea06e916b Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 21 Oct 2022 11:31:32 +0000 Subject: [PATCH] Bug 31421: (follow-up) Add POD --- Koha/Template/Plugin/Categories.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Koha/Template/Plugin/Categories.pm b/Koha/Template/Plugin/Categories.pm index 836811793d..4da8748ac4 100644 --- a/Koha/Template/Plugin/Categories.pm +++ b/Koha/Template/Plugin/Categories.pm @@ -61,9 +61,14 @@ Koha::Template::Plugin::Categories - TT Plugin for categories =head2 all -In a template, you can get the all categories with +In a template, you can get all the categories with the following TT code: [% Categories.all() %] +=head2 limited + +In a template, you can get the categories with library limits applied with +the following TT code: [% Categories.limited() %] + =head2 GetName In a template, you can get the name of a patron category using -- 2.30.2