]> git.koha-community.org Git - koha.git/commit
Bug 21448: Fix copy repeated subfields when linking an authority with 6xx
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sat, 29 Sep 2018 19:04:56 +0000 (16:04 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 8 Oct 2018 08:20:28 +0000 (09:20 +0100)
commit23542b6d310695aa7f0f967cdb4c6bd6273be40b
tree2875c782d4a6c7141239bf23534155b1055c0795
parent1d8a66ad010247c90a8930f4d2b48f96bbfe3b7e
Bug 21448: Fix copy repeated subfields when linking an authority with 6xx

The reported issue was:
On field 606, if I use an Authority with multiple "x" subfields, it will
add just the first "x"

Error in the logs:
Odd number of elements in anonymous hash at /home/vagrant/kohaclone/authorities/blinddetail-biblio-search.pl line 97.

We should pass a ref (!), caused by
  commit a7df1f9f8eb9ed16246964d94dd8a69b756b6551
  Bug 18904: (follow-up) Retrieve subfield in the order they are stored

Test plan:
Edit an authority and add several $x to 600
Link this authority to a bibliographic record
=> Without this patch only the first subfield is copied
=> With this patch applied they are all copied

Signed-off-by: José Anjos <joseanjos@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 08386cd3f05c5bc4dc6306e3a1d6c4878cce7c86)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
authorities/blinddetail-biblio-search.pl