Bug 33237: Move and simplify language selection logic
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 24 Apr 2024 15:39:52 +0000 (16:39 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 30 Apr 2024 12:32:15 +0000 (14:32 +0200)
commitc50bb140a872e67e07426fc3fc20bceb88c7d1e3
tree4ee1d1fe7085e9a1da5040bacbef131f5ea502fb
parent25d64cc6b2bdc60c89915e7d47bae6ef15fa8314
Bug 33237: Move and simplify language selection logic

This patch moves the language selection into GetPreparedLetter, drops
the interface check step and ensures the default template always uses
the default include language as per the OPACLanguages settings.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
C4/Letters.pm