From d515457c719197e66bd0a10c7011b407af2faa23 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. Signed-off-by: Galen Charlton --- C4/Items.pm | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/C4/Items.pm b/C4/Items.pm index 212a9d35a7..64db2628dd 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 -- 2.39.5