]> git.koha-community.org Git - koha.git/commit
Bug 34218: Send a record copy to avoid loss of information and display problems
authorThibaud Guillot <thibaud.guillot@biblibre.com>
Thu, 6 Jul 2023 11:46:47 +0000 (13:46 +0200)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Tue, 18 Jul 2023 14:06:51 +0000 (14:06 +0000)
commit9dc601f30c9f941840946170dbbd4230f5d6281e
tree622c0a3ed58e96f02e2a92cd19f4e2668f672db3
parent343f12427608f63f1ee4c3b2273ba450858f8299
Bug 34218: Send a record copy to avoid loss of information and display problems

As I wrote in the bug description, I encountered this problem in a particular case,
so I'll explain it in the test plan, but it's certainly likely to be encountered in different ways.

Test plan:

1) Link authorised values with  a field on a MARC framework, like a 942a related to branches
2) Set it on a record with no items
3) Activate syspref "AlternateHoldingsField" and set it to field 942a
4) Go to OPAC View and you will see "Holdings: " without any values
5) Apply this patch
6) Do step 4) again and now it's fixed

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit cbd0c15c8712601aff2fce3cb0e2d522146096f3)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit a4c53ebf7d498857999e35e3b862c2e76a6f8f44)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
opac/opac-detail.pl