]> git.koha-community.org Git - koha.git/commit
Bug 36815: Add 'get_default' method to Koha::Notice::Template
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 8 May 2024 15:19:26 +0000 (16:19 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 27 Jun 2024 12:04:51 +0000 (14:04 +0200)
commit217898cbb73554ff15707928232e752069b7b5de
tree86a6d286618762e8ec8b6dda41eac41d04c1d619
parent2013ea70ec603989e4765950e5ac00ba884b60c8
Bug 36815: Add 'get_default' method to Koha::Notice::Template

This patch adds a new 'get_default' method to the Koha::Notice::Template
object.  The idea is that it returns the template content as defined by
the sample_notices.yml file for the language of your choosing.

Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Notice/Template.pm