]> git.koha-community.org Git - koha.git/commit
Bug 36915: (QA follow-up) Passing less to encourage traversal
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 15 Aug 2024 14:29:30 +0000 (15:29 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 27 Aug 2024 10:14:20 +0000 (12:14 +0200)
commita3a1d7e253420efa16dcd17744de995b4dee76bb
treead2257943439feed91ce176c0ff7a49bbc904ff7
parentc0af0dad35b3c84fad576f5626c361d63a4a8583
Bug 36915: (QA follow-up) Passing less to encourage traversal

I generally push for contextual use of accessors in TT notices and try
to reduce extra lookups.

In this case we can access the pickup library branchname directly using
the pickup_library relation available to us in the booking object we
pass.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Booking.pm
installer/data/mysql/en/mandatory/sample_notices.yml