The POD of C4::Branch::GetBranches() has an example of how to create a branch selector based on the output of the function, but it uses the old template syntax, not TT syntax.
Oops, forgot to set importance to trivial.
Created attachment 20470 [details] [review] Bug 8670 - Update POD of C4::Branch::GetBranches() to use TT syntax This patch updates the example template syntax in the POD for C4::Branch::GetBranches() to use Template Toolkit syntax. To test, view the POD for C4::Branch::GetBranches() and confirm that it looks correct.
Created attachment 20492 [details] [review] Bug 8670 - Update POD of C4::Branch::GetBranches() to use TT syntax This patch updates the example template syntax in the POD for C4::Branch::GetBranches() to use Template Toolkit syntax. To test, view the POD for C4::Branch::GetBranches() and confirm that it looks correct. Signed-off-by: Magnus Enger <magnus@enger.priv.no> Checked the POD with "perldoc C4/Branch.pm" before and after applying the patch. The example now uses TT syntax, and looks sensible.
Created attachment 20498 [details] [review] Bug 8670 - Update POD of C4::Branch::GetBranches() to use TT syntax This patch updates the example template syntax in the POD for C4::Branch::GetBranches() to use Template Toolkit syntax. To test, view the POD for C4::Branch::GetBranches() and confirm that it looks correct. Signed-off-by: Magnus Enger <magnus@enger.priv.no> Checked the POD with "perldoc C4/Branch.pm" before and after applying the patch. The example now uses TT syntax, and looks sensible. Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
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.