From bfb3690238f8b220c9fb52986d080065a3db8320 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 18 Aug 2016 16:11:07 +0000 Subject: [PATCH] Bug 14876 - (QA Followup) Fix pod --- Koha/Template/Plugin/Holds.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Koha/Template/Plugin/Holds.pm b/Koha/Template/Plugin/Holds.pm index 91a978c..ef3cc0a 100644 --- a/Koha/Template/Plugin/Holds.pm +++ b/Koha/Template/Plugin/Holds.pm @@ -27,13 +27,12 @@ This plugin is a home for various patron related Template Toolkit functions to help streamline Koha and to move logic from the Perl code into the Templates when it makes sense to do so. -To use, first, include the line '[% USE Borrowers %]' at the top +To use, first, include the line '[% USE Holds %]' at the top of the template to enable the plugin. -For example: [% IF Borrowers.IsDebarred( borrower ) %] +For example: [% IF Holds.count( biblionumber ) %] removes the necessity of setting a template variable in Perl code to -find out if a patron is restricted even if that variable is not evaluated -in any way in the script. +find out if a title has holds. =cut -- 2.1.4