Summary: | Update POD of C4::Items::GetItemStatus() to use TT syntax | ||
---|---|---|---|
Product: | Koha | Reporter: | Owen Leonard <oleonard> |
Component: | Documentation | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED FIXED | QA Contact: | Jonathan Druart <jonathan.druart> |
Severity: | trivial | ||
Priority: | P5 - low | CC: | bgkriegel, chrish, gmcharlt, jonathan.druart, tomascohen |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8670 | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 10764 - Update POD of C4::Items::GetItemStatus() to use TT syntax
Bug 10764 - Update POD of C4::Items::GetItemStatus() to use TT syntax Bug 10764 - Update POD of C4::Items::GetItemStatus() to use TT syntax |
Description
Owen Leonard
2013-08-19 15:36:05 UTC
Created attachment 20482 [details] [review] 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. Created attachment 20494 [details] [review] 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 <magnus@enger.priv.no> 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. Created attachment 20500 [details] [review] 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 <magnus@enger.priv.no> 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 <jonathan.druart@biblibre.com> It seems the default option is not in used in templates. Pushed to master. Thanks, Owen! This patch has been pushed to 3.12.x, will be in 3.12.5. Thanks Owen! Pushed to 3.10.x, will be in 3.10.11 Pushed to 3.8.x, will be in 3.8.20. |