]> git.koha-community.org Git - koha.git/commit
Bug 38248: Do not deal with return claims if pref is not set
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 30 Oct 2024 08:53:44 +0000 (09:53 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Wed, 30 Oct 2024 13:34:51 +0000 (14:34 +0100)
commit617a2b434ca7142a49522e800849138cacd01cdc
tree110f5d80e9b53418176760298dea89fb875733dc
parent4d1b0303ffdb58f3e4c59ea53cbd55ac3a74ae79
Bug 38248: Do not deal with return claims if pref is not set

If the pref is not set we don't embed return_claims and so
row.return_claims will never be set.
When the pref is on, row.return_claims should always be an array.

Test plan:
Same as previous patch

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc