From 2440b93604492ca73950a29a4f3a3b239126b266 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 19 Aug 2013 11:37:55 -0400 Subject: [PATCH] Bug 10764 - Update POD of C4::Items::GetItemStatus() to use TT syntax This patch updates the example template syntax in the POD for C4::Items::GetItemStatus() to use Template Toolkit syntax. To test, view the POD for C4::Items::GetItemStatus() and confirm that it looks correct. Signed-off-by: Magnus Enger This patch works as advertised (verified with "perldoc C4::Items"), for GetItemStatus, but it does not fix a a similar example for GetItemLocation in the same file, which still has the old template syntax. So a followup or separate bug for that is called for. Signed-off-by: Jonathan Druart It seems the default option is not in used in templates. --- C4/Items.pm | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/C4/Items.pm b/C4/Items.pm index 212a9d3..64db262 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -751,12 +751,16 @@ Create a status selector with the following code =head3 in TEMPLATE - + =cut -- 1.7.10.4